All Products
Search
Document Center

:DescribeLiveDomainLimit

Last Updated:May 16, 2024

Queries the maximum allowed numbers of ingested streams, transcoded streams, and relayed streams under a streaming domain.

Usage notes

This operation applies only to main streaming domains.

QPS limit

You can call this operation up to 5 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

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action String Yes DescribeLiveDomainLimit

The operation that you want to perform. Set the value to DescribeLiveDomainLimit.

DomainName String Yes example.com

The main streaming domain.

Response parameters

Parameter

Type

Example

Description

RequestId String A3136B58-5876-4168-83CA-B562781981A0

The request ID.

LiveDomainLimitList Array of LiveDomainLimit

The maximum allowed numbers of ingested streams, transcoded streams, and relayed streams under the streaming domain.

LiveDomainLimit
LimitTranscodeNum Integer 50

The maximum allowed number of transcoded streams.

CurrentTranscodeNum Integer 10

The current number of transcoded streams.

LimitNum Integer 100

The maximum allowed number of ingested streams.

LimitTransferNum Integer 50

The maximum allowed number of streams relayed from the live center.

CurrentNum Integer 10

The current number of ingested streams.

CurrentTransferNum Integer 10

The current number of streams relayed from the live center.

DomainName String example.com

The main streaming domain that was queried.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DescribeLiveDomainLimit
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeLiveDomainLimitResponse>
    <RequestId>A3136B58-5876-4168-83CA-B562781981A0</RequestId>
    <LiveDomainLimitList>
        <LimitTranscodeNum>50</LimitTranscodeNum>
        <CurrentTranscodeNum>10</CurrentTranscodeNum>
        <LimitNum>100</LimitNum>
        <LimitTransferNum>50</LimitTransferNum>
        <CurrentNum>10</CurrentNum>
        <CurrentTransferNum>10</CurrentTransferNum>
        <DomainName>example.com</DomainName>
    </LiveDomainLimitList>
</DescribeLiveDomainLimitResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "A3136B58-5876-4168-83CA-B562781981A0",
  "LiveDomainLimitList" : {
    "LimitTranscodeNum" : 50,
    "CurrentTranscodeNum" : 10,
    "LimitNum" : 100,
    "LimitTransferNum" : 50,
    "CurrentNum" : 10,
    "CurrentTransferNum" : 10,
    "DomainName" : "example.com"
  }
}

Error codes

For a list of error codes, see Service error codes.

Special error codes

Error code

Error message

HTTP status code

Description

Missing DomainName

DomainName is mandatory for this action.

400

One or more required parameters are not specified.

InvalidParam

Parameter invalid.

400

One or more specified parameters are invalid.

InvalidDomain.NotFound

The domain provided does not exist in our records.

404

The domain name is not found within your Alibaba Cloud account.