Switches a production studio to the standby resource.
Operation description
You can call this operation to urgently switch a specified scene to the standby video. This operation applies only to Program (PGM) scenes.
QPS limit
The queries per second (QPS) limit for this operation is 10 per user. If you exceed this limit, API calls are throttled, which may impact your business.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:EffectCasterUrgent |
get |
*Caster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The ID of the region. |
cn-shanghai |
| CasterId |
string |
Yes |
The ID of the production studio.
Note
The name of the production studio in the list on the Cloud Production Studio page is the production studio ID. |
80787064-1c94-4dc1-85ce-9409960a**** |
| SceneId |
string |
Yes |
The ID of the scene. This parameter is valid only for PGM scenes. Call the DescribeCasterScenes operation to query the scene ID of the production studio. |
242b4e2c-c30f-4442-85ba-2e3e4e3d**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CF60DB6A-7FD6-426E-9288-122CC1A52FA7 |
Examples
Success response
JSON format
{
"RequestId": "CF60DB6A-7FD6-426E-9288-122CC1A52FA7"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidCasterId.Malformed | %s, please check and try again later. | The parameter CasterId is invalid, please check and try again. |
| 400 | InvalidUserId.Malformed | %s, please check userId. | The userId passed in is invalid, please check. |
| 400 | InvalidSceneId.Malformed | %s, please check and try again later. | The parameter SceneId is invalid, please check and try again. |
| 400 | IncorrectSceneStatus | %s, please check and try again later. | Scene status is not supported, please check and try again. |
| 400 | IncorrectSceneStatus.Idle | %s, please check and try again later. | Scene status is idle, please check and try again. |
| 400 | IncorrectChannel.Disable | %s, please check and try again later. | The Channel is in a non-settable state, please check and try again. |
| 400 | InvalidParameter.Malformed | There are invalid parameters: %s. | There are invalid parameters: %s. |
| 401 | IllegalOperation | %s, please check and try again later. | Operation not allowed, please check and try again. |
| 500 | InternalError | %s, please try again later. | Internal error, please try again later. |
| 404 | InvalidCaster.NotFound | %s, please check and try again later. | The guide station does not exist, please check and try again. |
| 404 | InvalidUrgentMaterial.NotFound | %s, please check and try again later. | The spare material does not exist. Please check and try again. |
| 404 | InvalidScene.NotFound | %s, please check and try again later. | Scene does not exist, please check and try again. |
| 404 | InvalidResource.NotFound | %s, please check and try again later. | The resource does not exist. Please check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.