StopRtcCloudRecording
Stops an RTC cloud recording task.
Operation description
The task to be stopped must be in the Running or Abnormal state.
For tasks that are in the Stopping or Stopped state, this operation directly returns a success response.
For tasks that have just been started and are not yet in the Running state, an InvalidParameter.TaskId error is returned. If you receive this error, wait a few seconds and try again.
If NotFound.Task is returned, and you have confirmed that the specified TaskId exists, the task has just been started and is not yet running. Wait a few seconds and try again.
QPS limit
The single-user QPS limit for this operation is 50 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:StopRtcCloudRecording |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
Yes |
The task ID returned when the RTC cloud recording task was started. |
******73-8501-****-8ac1-72295a****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
******58-5876-****-83CA-B56278****** |
| TaskId |
string |
The task ID. |
******73-8501-****-8ac1-72295a****** |
Examples
Success response
JSON format
{
"RequestId": "******58-5876-****-83CA-B56278******",
"TaskId": "******73-8501-****-8ac1-72295a******"
}
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.