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.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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 parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | InvalidPushDomain | The PushDomain should be liveEdge type. |
400 | InvalidPullDomain | The PullDomain should be liveVideo type. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-09-29 | API Description Update. The Error code has changed | View Change Details |