Creates the mapping between a streaming domain and an ingest domain.
Operation description
Call the AddLiveDomain operation to add a streaming domain and an ingest domain, and then call this operation to create the mapping between the two domain names.
QPS limit
You can call this operation up to 30 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.
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 type of the domain name is liveEdge. |
demo.aliyundoc.com |
| PullDomain |
string |
Yes |
The streaming domain. The type of the domain name 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.