AddLiveDomainMapping
Adds the mapping configuration between the streaming domain and the ingest domain for a live domain.
Operation description
You must call the AddLiveDomain operation to add a streaming domain and an ingest domain before you call this operation to add the mapping configuration between the streaming domain and the ingest domain for a live domain.
QPS limit
The QPS limit per user is 30 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call the operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:AddLiveDomainMapping |
create |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PushDomain |
string |
Yes |
The ingest domain. The domain type is liveEdge. |
demo.aliyundoc.com |
| PullDomain |
string |
Yes |
The streaming domain. The domain type is liveVideo. |
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 | InvalidPushDomain | The PushDomain should be liveEdge type. | |
| 400 | InvalidPullDomain | The PullDomain should be liveVideo type. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.