AddLiveStreamWatermarkRule
Adds a watermark rule.
Operation description
After you call the AddLiveStreamWatermark operation to add a watermark template, you can call this operation to add a watermark rule.
QPS limit
The QPS limit per user is 60 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:AddLiveStreamWatermarkRule |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| Name |
string |
Yes |
The custom rule name. |
WatermarkRule**** |
| Domain |
string |
Yes |
The streaming domain. |
example.aliyundoc.com |
| App |
string |
Yes |
The name of the application to which the stream belongs. |
liveApp**** |
| Stream |
string |
Yes |
The stream name. The rules are as follows:
Note
|
liveStreamA |
| TemplateId |
string |
Yes |
The watermark template ID. Note
You can obtain the template ID from the response parameters of the AddLiveStreamWatermark operation. |
445409ec-7eaa-461d-8f29-4bec2eb9**** |
| Description |
string |
No |
The custom rule description. |
my rule |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RuleId |
string |
The watermark rule ID. |
445409ec-7eaa-461d-8f29-4bec2eb9**** |
| RequestId |
string |
The request ID. |
5c6a2a0df228-4a64-af62-20e91b96**** |
Examples
Success response
JSON format
{
"RuleId": "445409ec-7eaa-461d-8f29-4bec2eb9****",
"RequestId": "5c6a2a0df228-4a64-af62-20e91b96****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters | %s Please check and try again later. | Exception parameter exists, please check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.