Query Recorded Shard List

Last updated: 2019-12-14 14:19:08

    1. API Description

    Domain name: live.api.qcloud.com

    Note: This API (DescribeRecord) is used to store recorded files on the VOD platform. If you want to use the recording feature, you need to activate a VOD account first and ensure that the account is available. When recording files are stored, the charges (including charges for storage and downstream playback traffic) are calculated with VOD billing method.

    2. Input Parameters

    Parameter Name Required Type Description
    channelId Yes String Channel ID
    taskId Yes Int Task ID
    pageNo No Int Page number. Default is 1
    pageSize No Int Page size. Default is 10

    3. Output Parameters

    Parameter Name Type Description
    code Int Error code. 0: Successful; other values: Failed
    message String Error message
    totalCount Int Total number
    fileSet Array File result set

    The file information is composed as follows:

    Parameter Name Type Description
    fileId String File ID
    startTime String Time when the fragmentation process starts
    endTime String Time when the fragmentation process ends
    fileName String File name

    4. Example

    Input 1

    
    http://domain/v2/index.php?Action=DescribeRecord&channelId=16093104850681751595&taskId=10&pageSize=10&pageNo=1&Common request parameters
    
    
    
    

    Output 1

    {
    
        "code": 0,
        "message": "",
        "totalCount": 2,
        "fileSet": [
            {
                "fileId": "16093104850681751583",
                "startTime": "7",
                "endTime": "720",
                "fileName": "LVB -sparrow_hls-20160120-0958-20160120-1010"
            },
            {
                "fileId": "16093104850681751599",
                "startTime": "8",
                "endTime": "1806",
                "fileName": "LVB -sparrow_hls-20160120-1010-20160120-1040"
            }
        ]
    
    }
    

    After the recording, the VOD platform will generate a file, for example:
    http://2527.vod.myqcloud.com/2527_000007d0b18*****bd98f9125ed6569ee9a90001.f0.mp4
    Complete information on access methods can be found via field

    Was this page helpful?

    Was this page helpful?

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