DescribeRtcCloudRecordingFiles
Queries RTC cloud recording files and task information.
Operation description
QPS limit
The queries per second (QPS) limit for a single user is 50. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeRtcCloudRecordingFiles |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
Yes |
The task ID. The ID is returned by the StartRtcCloudRecording operation. You can only query tasks that were created within the last three days. |
******73-8501-****-8ac1-72295a****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response content. |
||
| RequestId |
string |
The request ID. |
******58-5876-****-83CA-B56278****** |
| TaskInfo |
object |
The task information. |
|
| TaskId |
string |
The task ID passed in the request. |
******73-8501-****-8ac1-72295a****** |
| Status |
string |
The task status. Valid values:
|
RUNNING |
| RecordFileList |
object |
The list of recording files. |
|
| Mp3FileList |
array |
The array of MP3 recording file names. |
|
|
string |
The MP3 recording file name. |
******73-8501-****-8ac1-72295a******/myappid_testroom_userA_2025-05-06-14:37:22.mp3 |
|
| Mp4FileList |
array |
The array of MP4 recording file names. |
|
|
string |
The MP4 recording file name. |
******73-8501-****-8ac1-72295a******/myappid_testroom_userA_2025-05-06-14:37:22.mp4 |
|
| HlsFileList |
array |
The array of HLS recording file names. |
|
|
string |
The HLS recording file name. |
******73-8501-****-8ac1-72295a******/myappid_testroom_userA_2025-05-06-14:37:22.m3u8 |
|
| VodMediaList |
array<object> |
The array of VOD media resources. When recordings are stored in VOD, this is the collection of recording files for each subscribed stream, where each item corresponds to a subscribed stream. |
|
|
object |
The media resource information corresponding to a specific subscribed stream. |
||
| Stream |
string |
The subscribed stream.
|
Single::UserA::AV::C |
| MediaIds |
array |
The array of media resource IDs generated during the recording process. |
|
|
string |
The media resource ID generated during the recording process. |
****bbd9f59c71ee80065017f0f8**** |
|
| MergedIds |
array |
The array of automatically merged media resource IDs generated after the recording ends. |
|
|
string |
The automatically merged media resource ID generated after the recording ends. |
****d2f9f59c71ee8006501790g7**** |
Examples
Success response
JSON format
{
"RequestId": "******58-5876-****-83CA-B56278******\n",
"TaskInfo": {
"TaskId": "******73-8501-****-8ac1-72295a******\n",
"Status": "RUNNING",
"RecordFileList": {
"Mp3FileList": [
"******73-8501-****-8ac1-72295a******/myappid_testroom_userA_2025-05-06-14:37:22.mp3"
],
"Mp4FileList": [
"******73-8501-****-8ac1-72295a******/myappid_testroom_userA_2025-05-06-14:37:22.mp4"
],
"HlsFileList": [
"******73-8501-****-8ac1-72295a******/myappid_testroom_userA_2025-05-06-14:37:22.m3u8"
],
"VodMediaList": [
{
"Stream": "Single::UserA::AV::C",
"MediaIds": [
"****bbd9f59c71ee80065017f0f8****"
],
"MergedIds": [
"****d2f9f59c71ee8006501790g7****"
]
}
]
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NotFound.Task | %s, please check the TaskId. | The parameter TaskId does not exist. |
| 400 | InvalidParameter.TaskId | %s, please check the TaskId. | The specified task must be in the running or recovering state. |
| 400 | MissingParameter | %s. | Missing parameter |
| 403 | InvalidParameter.UserId | %s, please check the UserId. | UserId is invalid, please check. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.