DescribeCasterChannels
Queries the channels of a production studio.
Operation description
Create a production studio by calling the CreateCaster operation before calling this operation to query production studio channels.
QPS limits
The QPS limit for a single user is 15 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls 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 the production studio in the production studio list on the Cloud Production Studios page of the ApsaraVideo Live console is the production studio ID. |
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 position. The ID of the channel to which the layout is applied. You can configure at most one video source for each position. The value must be in the RV01 to RV12 format. |
RV01 |
| FaceBeauty |
string |
The face beautification settings. Valid values: 0 (whole), 1 (skin smoothing), 2 (skin brightening), 3 (dark circle removal), and 4 (nasolabial fold smoothing). |
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. |
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.