Calls SetLiveDomainMultiStreamConfig to enable or disable the dual-stream disaster recovery switch.
Operation description
Calls this operation to enable the dual-stream disaster recovery feature, which allows stream ingest to the same live stream name.
QPS limit
The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:SetLiveDomainMultiStreamConfig |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Domain |
string |
Yes |
The primary streaming domain. |
example.com |
| Switch |
string |
Yes |
The feature switch. Valid values:
Valid values:
|
on |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| 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 | InvalidParameter | %s. | Parameter error |
| 400 | CodeGetPushbackDomainError | Unable to get the push domain name, please check the domain name mapping configuration. | Unable to get the push domain name, please check the domain name mapping configuration. |
| 500 | InternalError | %s. | error on the live liveapi server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.