Menambahkan aturan watermark.
Deskripsi operasi
After you add a watermark template by calling the AddLiveStreamWatermark operation, call this operation to create a rule that applies the template.
QPS limits
You can call this operation up to 60 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:AddLiveStreamWatermarkRule |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-shanghai |
| Name |
string |
Yes |
Nama aturan kustom. |
WatermarkRule**** |
| Domain |
string |
Yes |
Domain aliran. |
example.aliyundoc.com |
| App |
string |
Yes |
Nama aplikasi tempat aliran live berada. |
liveApp**** |
| Stream |
string |
Yes |
Nama aliran. Aturan berikut berlaku:
Catatan
|
liveStreamA |
| TemplateId |
string |
Yes |
ID template watermark. Catatan
Dapatkan ID template dari tanggapan operasi AddLiveStreamWatermark. |
445409ec-7eaa-461d-8f29-4bec2eb9**** |
| Description |
string |
No |
Deskripsi aturan kustom. |
my rule |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RuleId |
string |
The ID of the watermark rule. |
445409ec-7eaa-461d-8f29-4bec2eb9**** |
| RequestId |
string |
The request ID. |
5c6a2a0df228-4a64-af62-20e91b96**** |
Contoh
Respons sukses
JSONformat
{
"RuleId": "445409ec-7eaa-461d-8f29-4bec2eb9****",
"RequestId": "5c6a2a0df228-4a64-af62-20e91b96****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters | %s Please check and try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.