Maps a sub-streaming domain to a main streaming domain.
Operation description
Before you call this operation, you must add the main streaming domain and sub-streaming domain by calling AddLiveDomain.
QPS limit
You can call this operation up to 1,000 times per minute 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:AddLiveDomainPlayMapping | create | *Domain
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | No | The region ID. | cn-shanghai |
PlayDomain | string | Yes | The sub-streaming domain. | example.aliyundoc.com |
PullDomain | string | Yes | The main streaming domain. | example.com |
Response elements
Parameter | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}Error codes
HTTP status code | Error code | Error message | Description |
400 | InvalidParam | Parameter invalid. | Illegal input parameters |
400 | ConfigAlreadyExists | Config has already exist. | |
500 | InternalError | The request processing has failed due to backend service exception. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.