tencent cloud

APIs

DescribeRecordPlaybackUrl

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-10-26 11:48:07

1. API Description

Domain name for API request: iss.intl.tencentcloudapi.com.

This API is used to obtain the cloud recording playback url address.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeRecordPlaybackUrl.
Version Yes String Common Params. The value used for this API: 2023-05-17.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
ChannelId Yes String Device channel ID
StartTime Yes Integer Replay start time in UTC seconds, for example: 1662114146. The longest period between the start and end times is one day and cannot span multiple days.
EndTime Yes Integer Replay end time in UTC seconds, for example: 1662114246. The longest period between the start and end times is one day, and cannot span multiple days.
IsInternal No Boolean Whether to obtain the intranet address
CorrectTimestamp No Boolean Whether to enable timestamp correction during cloud video playback. This primarily addresses issues such as timestamp reversal or rollback that cause playback failure.

3. Output Parameters

Parameter Name Type Description
Data RecordPlaybackUrl Returned results.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Success

Input Example

POST / HTTP/1.1
Host: iss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRecordPlaybackUrl
<Common request parameters>

{
    "ChannelId": "32525dd7-c3fc-****-****-d5beb4acd1e1",
    "StartTime": 1687677795,
    "EndTime": 1687688595
}

Output Example

{
    "Response": {
        "Data": {
            "Hls": "https://test5.maxshang.cn/playback/32525dd7-c3fc-****-****-d5beb4acd1e1/hls.m3u8?starttime=1687677795&endtime=1687688595&token=13*******2_1687677842_68dfc39854510520f29de4da78bd6e93"
        },
        "RequestId": "ba7981b-d6a4-4177-b11d-e53a6110e4cd"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation Operation failed
InvalidParameter.InvalidBodyFormat Invalid message body format
InvalidParameter.InvalidParameter Invalid input parameter
InvalidParameterValue.IllegalChannelId Channel ID contains illegal characters
InvalidParameterValue.InvalidChannelId Invalid channel ID
InvalidParameterValue.InvalidStartTimeOrEndTime Invalid start or end time
InvalidParameterValue.NonSameDay Time cannot span across days.
InvalidParameterValue.StartTimeGreaterThanOrEqualEndTime Start time cannot be greater than or equal to end time.
ResourceNotFound.ChannelNotExist Channel not found
ResourceNotFound.DeviceNotExist Device does not exist
UnsupportedOperation.UnopenedIntranetServicesInRegion Intranet services are not enabled in this region.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백