Operasi ini menanyakan saluran dari sebuah studio produksi.
Deskripsi operasi
Setelah Anda membuat studio produksi dengan memanggil operasi CreateCaster, Anda dapat memanggil operasi ini untuk menanyakan salurannya.
Batas QPS
Operasi ini dibatasi hingga 15 kueri per detik (QPS) untuk setiap pengguna. Jika Anda melebihi batas ini, panggilan API akan dibatasi, yang dapat memengaruhi bisnis Anda. Kami menyarankan Anda memanggil operasi ini dengan kecepatan yang wajar.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeCasterChannels |
get |
*Caster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID region. |
cn-shanghai |
| CasterId |
string |
Yes |
ID studio produksi.
Catatan
Nama studio produksi dalam daftar di halaman Cloud Production Studio adalah ID dari studio produksi tersebut. |
a2b8e671-2fe5-4642-a2ec-bf93880e**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Channels |
object |
||
| Channel |
array<object> |
Daftar saluran. |
|
|
object |
Daftar saluran. |
||
| 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 |
ID permintaan. |
83C52866-281E-4AEA-9582-B124******** |
| Total |
integer |
Jumlah total entri. |
1 |
Contoh
Respons sukses
JSONformat
{
"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
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.Malformed | There are invalid parameters: %s. | |
| 401 | IllegalOperation | %s, please check and try again later. | |
| 500 | InternalError | %s, please try again later. | |
| 404 | InvalidDomainName.NotFound | %s, please check and try again later. | |
| 404 | InvalidCaster.NotFound | %s, please check and try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.