End Recording Task

Last updated: 2019-11-29 18:42:02

    1. API Description

    • API
    • Live_Tape_Stop*: This API is used to end a recording task.
    • URL
      URL for calling API: http://fcgi.video.qcloud.com/common_access
    • Note
      End a recording task.

    2. Input Parameters

    Parameter Name Description Type Note Required
    APPID Customer ID int LVB APPID used for identifying customers Y
    interface API name string For example: Get_LivePushStat Y
    t Validity period int UNIX timestamp (decimal) Y
    sign Security signature string MD5(key+t) Y
    Param.s.channel_id Channel ID string Y
    Param.s.task_id Task ID string Y
    Param.n.task_sub_type Whether to enable real-time recording int Default is 0, and 1 means enabling real-time recording N

    3. Output Parameters

    Parameter Name Description Type Note
    ret Error code int 0: Successful; other values: Failed.
    message Error message string Error message

    4. Example

    Purpose: To query the list of files recorded during the LVB for the LVB stream with an LVB Code of 8888_test123.

    Component Example
    API URL http://fcgi.video.qcloud.com/common_access?
    APPID 1234
    interface Live_Tape_Stop
    Param.s.channel_id 8888_test123
    Param.n.task_id 123
    t 1471850187
    sign b17971b51ba0fe5916ddcd96692e9fb3
    //When copying them, remove the invisible line breaks used for improving layout. Otherwise, URL construction errors may occur, such as "appid is invalid".
    URL = http://fcgi.video.qcloud.com/common_access?
                appid=1234&interface=Live_Tape_Stop
                &Param.s.channel_id=8888_test123
                &Param.n.task_id=123
                &t=1471850187&sign=b17971b51ba0fe5916ddcd96692e9fb3

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help