All Products
Search
Document Center

ApsaraVideo Live:AddLiveDomainMapping

Last Updated:Dec 05, 2024

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

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PushDomainstringYes

The ingest domain. The type of the domain name is liveEdge.

demo.aliyundoc.com
PullDomainstringYes

The streaming domain. The type of the domain name is liveVideo.

example.com

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

Examples

Sample success responses

JSONformat

{
  "RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}

Error codes

HTTP status codeError codeError message
400InvalidPushDomainThe PushDomain should be liveEdge type.
400InvalidPullDomainThe PullDomain should be liveVideo type.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-09-29API Description Update. The Error code has changedView Change Details