Mengkueri konfigurasi audio sebuah skenario.
Deskripsi operasi
Before you call this operation, you must create a production studio by calling the CreateCaster operation.
QPS limit
The queries per second (QPS) limit for a single user is 15 calls per second. API calls that exceed this limit are throttled, which may affect your business. Plan your calls accordingly.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeCasterSceneAudio |
get |
*Caster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. |
cn-shanghai |
| CasterId |
string |
Yes |
ID studio produksi.
Catatan
Nama studio produksi pada daftar di halaman Studio Produksi Cloud adalah ID studio produksi tersebut. |
97df6b7f-3490-47d2-ac50-88338765**** |
| SceneId |
string |
Yes |
ID skenario. |
97df6b7f-3490-47d2-ac50-88339087**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| AudioLayers |
object |
||
| AudioLayer |
array<object> |
The list of audio layer configurations. |
|
|
object |
The list of audio layer configurations. |
||
| FixedDelayDuration |
integer |
The fixed latency. Unit: milliseconds (ms). |
2000 |
| ValidChannel |
string |
The sound channel type. Valid values:
|
all |
| VolumeRate |
number |
The audio volume. |
1 |
| CasterId |
string |
The ID of the production studio. This ID can be used as a request parameter to start the production studio scenario. |
97df6b7f-3490-47d2-ac50-88338765**** |
| FollowEnable |
integer |
Specifies whether to enable audio follow. By default, audio follow is enabled.
|
1 |
| MixList |
object |
||
| LocationId |
array |
The list of associated locations. The order of locations is the same as the order of audio layers. |
|
|
string |
The location ID. |
RV01 |
|
| RequestId |
string |
The request ID. |
98745637-3490-47d2-ac50-883387567098 |
Contoh
Respons sukses
JSONformat
{
"AudioLayers": {
"AudioLayer": [
{
"FixedDelayDuration": 2000,
"ValidChannel": "all",
"VolumeRate": 1
}
]
},
"CasterId": "97df6b7f-3490-47d2-ac50-88338765****",
"FollowEnable": 1,
"MixList": {
"LocationId": [
"RV01"
]
},
"RequestId": "98745637-3490-47d2-ac50-883387567098"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidCasterId.Malformed | %s, please check and try again later. | |
| 401 | IllegalOperation | %s, please check and try again later. | |
| 500 | InternalError | %s, please try again later. | |
| 404 | InvalidCaster.NotFound | %s, please check and try again later. | |
| 404 | InvalidScene.NotFound | %s, please check and try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.