Dynamically updates a watermark.
Operation description
Dynamically updating a watermark involves replacing the watermark template ID during a live stream. Before you call this operation, you must obtain the ID of the watermark template that you want to use. To obtain the IDs of available watermark templates, call the DescribeLiveStreamWatermarks operation.
QPS limit
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.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
live:DynamicUpdateWaterMarkStreamRule | *Domain
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | No | The region ID. | cn-shanghai |
Domain | string | Yes | The main streaming domain. | pull.aliyundoc.com |
App | string | Yes | The AppName of the live stream. | liveApp**** |
Stream | string | Yes | The name of the watermarked stream. | liveStream**** |
TemplateId | string | Yes | The ID of the watermark template. Call the DescribeLiveStreamWatermarks operation to get the IDs of available watermark templates. Note The TemplateId parameter is used to replace the watermark template ID during a live stream. | 749b7594-86d6-37b1-513b-e1e19845**** |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | BE9407FF-F897-4DBD-338D-98A750AD805F |
Examples
Success response
JSON format
{
"RequestId": "BE9407FF-F897-4DBD-338D-98A750AD805F"
}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.