This operation queries the channels of a production studio.
Operation description
After you create a production studio by calling the CreateCaster operation, you can call this operation to query its channels.
QPS limit
This operation is limited to 15 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. We recommend that you call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeCasterChannels |
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 a production studio in the list on the Cloud Production Studio page is the ID of the production studio. |
a2b8e671-2fe5-4642-a2ec-bf93880e**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Channels |
object |
||
| Channel |
array<object> |
The list of channels. |
|
|
object |
The list of channels. |
||
| ChannelId |
string |
The ID of the channel slot used in the layout. You can set a maximum of one video source for each slot. The ID must be in the format of RV01 to RV12. The ID of the channel that is used in the layout. You can set a maximum of one video source for each slot. The ID must be in the format of RV01 to RV12. |
RV01 |
| FaceBeauty |
string |
The retouching settings. Valid values: 0 (whole), 1 (skin smoothing), 2 (skin whitening), 3 (dark circle removal), and 4 (nasolabial fold removal). |
0 |
| ResourceId |
string |
The ID of the video source. |
87642866-281E-4AEA-9582-B124879**** |
| RtmpUrl |
string |
The RTMP URL. |
rtmp://demo.aliyundoc.com/caster/rtmperf?auth_key=**** |
| StreamUrl |
string |
The output URL of the channel. |
http://demo.aliyundoc.com/caster/streamwsx.flv?auth_key=YYYYY |
| RequestId |
string |
The request ID. |
83C52866-281E-4AEA-9582-B124******** |
| Total |
integer |
The total number of entries. |
1 |
Examples
Success response
JSON format
{
"Channels": {
"Channel": [
{
"ChannelId": "RV01",
"FaceBeauty": "0",
"ResourceId": "87642866-281E-4AEA-9582-B124879****",
"RtmpUrl": "rtmp://demo.aliyundoc.com/caster/rtmperf?auth_key=****",
"StreamUrl": "http://demo.aliyundoc.com/caster/streamwsx.flv?auth_key=YYYYY"
}
]
},
"RequestId": "83C52866-281E-4AEA-9582-B124********",
"Total": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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 | InvalidDomainName.NotFound | %s, please check and try again later. | Domain name does not exist, please check and try again. |
| 404 | InvalidCaster.NotFound | %s, please check and try again later. | The guide station does not exist, please check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.