Memperbarui konfigurasi transcoding default.
Deskripsi operasi
To modify the encryption settings, first obtain a Customer Master Key (CMK) ID from Key Management Service (KMS). This operation supports only standard and Narrowband HD™ transcoding templates.
QPS limits
You can call this operation up to 30 times per second per account.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:UpdateLiveStreamTranscode |
create |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-shanghai |
| Domain |
string |
Yes |
Domain streaming. Parameter ini tidak dapat diubah. |
example.com |
| App |
string |
Yes |
AppName aliran live. Parameter ini tidak dapat diubah. |
liveApp**** |
| Template |
string |
Yes |
Nama template transkoding. Parameter ini tidak dapat diubah. |
lsd |
| EncryptParameters |
string |
No |
Pengaturan enkripsi, diformat sebagai string JSON.
Catatan
Saat Anda menggunakan Enkripsi DRM (Digital Rights Management), Anda tidak dapat mengubah KmsKeyID. |
{"EncryptType": "aliyun", "KmsKeyID":"afce5722-81d2-43c3-9930-7601da11****","KmsKeyExpireInterval":"3600"} |
| Lazy |
string |
No |
Apakah akan mengaktifkan transkoding sesuai permintaan. Nilai valid:
|
yes |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The request ID. |
||
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters | %s Please check and try again later. | |
| 400 | ConfigAlreadyExists | %s Please check and try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.