AddLiveDomainPlayMapping
Adds a mapping between a main streaming domain and a sub-streaming domain.
Operation description
You must call the AddLiveDomain operation to add the main streaming domain and the sub-streaming domain before you call this operation to add a mapping between them.
QPS limit
The QPS limit per user is 1,000 calls per minute. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable rate.
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
|
Element |
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.