Updates a subtitle rule.
Operation description
Updates the parameters of a specified subtitle rule.
QPS limit
The single-user QPS limit for this API is 60 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:UpdateLiveAIProduceRules |
update |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| Domain |
string |
Yes |
The primary streaming domain. |
demo.aliyundoc.com |
| App |
string |
Yes |
The name of the live stream application. |
AppName |
| Suffix |
string |
No |
The suffix match. |
test01 |
| SubtitleName |
string |
No |
The name of the subtitle template. You must specify at least one of SubtitleName and StudioName. Otherwise, a MissingParameter error is returned. |
sub01 |
| StudioName |
string |
No |
The name of the virtual background template. You must specify at least one of SubtitleName and StudioName. Otherwise, a MissingParameter error is returned. |
sub02 |
| IsLazy |
boolean |
No |
Specifies whether subtitles are triggered by stream pulling. Valid values:
|
true |
| RulesId |
string |
No |
The ID of the subtitle rule. |
445409ec-7eaa-461d -8f29-4bec2eb9**** |
| LiveTemplate |
string |
No |
The output specification of the subtitle. Valid values:
|
lp_ld |
| SubtitleId |
string |
No |
The ID of the subtitle template. |
445409ec-7eaa-461d-8f29-4bec2eb9**** |
| Description |
string |
No |
The description of the subtitle rule. The description can contain letters, digits, Chinese characters, and special characters, and can be up to 128 characters in length. |
live AI subtitle template |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5c6a2a0df228-4a64-af62-20e91b96**** |
Examples
Success response
JSON format
{
"RequestId": "5c6a2a0df228-4a64-af62-20e91b96****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | %s. | Missing parameter |
| 400 | InvalidParameter | %s. | Parameter error |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.