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.
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. |
| 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. |
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
}
{
"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"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
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. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan