Queries the scenes for a production studio.
Operation description
After you create a production studio by calling the CreateCaster operation, you can call this operation to query the scenes for the production studio.
QPS limit
The queries per second (QPS) limit for a single user is 15 calls per second. If you exceed this limit, your API calls are throttled. Throttling may affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeCasterScenes |
get |
*Caster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
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 its ID. |
80787064-1c94-4dc1-85ce-9409960a**** |
| SceneId |
string |
No |
The scene ID. |
b5f8c837-ceeb-424f-b30b-68e94e86**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CF60DB6A-7FD6-426E-9288-122CC1***** |
| SceneList |
object |
||
| Scene |
array<object> |
The list of scene information. |
|
|
object |
The list of scene information. |
||
| ComponentIds |
object |
||
| componentId |
array |
The list of component IDs. |
|
|
string |
The list of component IDs. |
["1506396160-0-0-7de771a77102680861853af862d5****"] |
|
| LayoutId |
string |
The layout ID. |
37cb2f8b-f152-4338-b928-6704f71d**** |
| OutputType |
string |
Indicates whether the scene is the one being streamed. Valid values:
|
0 |
| SceneId |
string |
The scene ID. You can use this ID as a request parameter to update the audio configuration of a scene, query the audio configuration of a scene, start a scene, or stop a scene. |
b5f8c837-ceeb-424f-b30b-68e94e86**** |
| SceneName |
string |
The scene name. |
scene1 |
| Status |
integer |
The status of the scene. Valid values:
|
0 |
| StreamInfos |
object |
||
| StreamInfo |
array<object> |
The list of playback URLs. |
|
|
object |
The list of playback URLs. |
||
| OutputStreamUrl |
string |
The playback URL. |
http://live/caster/example.net |
| TranscodeConfig |
string |
The transcoding configuration. Valid values:
|
lld |
| VideoFormat |
string |
The format. Valid values:
|
flv |
| StreamUrl |
string |
The output stream URL. |
rtmp://developer.aliyundoc.com/caster/4a82a3d1b7f0462ea37348366201****?auth_key=1608953344-0-0-ac8c628078541d7055a170ec59a5**** |
| Total |
integer |
The total number of records. |
2 |
Examples
Success response
JSON format
{
"RequestId": "CF60DB6A-7FD6-426E-9288-122CC1*****",
"SceneList": {
"Scene": [
{
"ComponentIds": {
"componentId": [
"[\"1506396160-0-0-7de771a77102680861853af862d5****\"]"
]
},
"LayoutId": "37cb2f8b-f152-4338-b928-6704f71d****",
"OutputType": "0",
"SceneId": "b5f8c837-ceeb-424f-b30b-68e94e86****",
"SceneName": "scene1",
"Status": 0,
"StreamInfos": {
"StreamInfo": [
{
"OutputStreamUrl": "http://live/caster/example.net",
"TranscodeConfig": "lld",
"VideoFormat": "flv"
}
]
},
"StreamUrl": "rtmp://developer.aliyundoc.com/caster/4a82a3d1b7f0462ea37348366201****?auth_key=1608953344-0-0-ac8c628078541d7055a170ec59a5****"
}
]
},
"Total": 2
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidCasterId.Malformed | %s | |
| 400 | InvalidSceneId.Malformed | %s | |
| 401 | IllegalOperation | %s | |
| 500 | InternalError | %s | |
| 404 | InvalidCaster.NotFound | %s | |
| 404 | InvalidDomainName.NotFound | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.