Queries the information about a configuration of live center stream relay.

QPS limit

You can call this operation up to 100 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 limit on an API operation in ApsaraVideo Live.

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 DescribeLiveCenterTransfer

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

DomainName String Yes example.com

The streaming domain.

AppName String No testapp

The name of the application to which the live stream belongs. The value of this parameter must be the same as the application name for the live stream that you want to relay. Otherwise, the configuration does not take effect.

StreamName String No teststream

The name of the live stream.

DstUrl String No rtmp://push.example2.aliyunlive.com/testapp1/teststream2

The third-party URL to which the live stream is relayed.

Response parameters

Parameter Type Example Description
RequestId String C4865B85-664B-19D3-BB16-C62FB83C8226

The ID of the request.

LiveCenterTransferInfoList Array of LiveCenterTransferInfo
LiveCenterTransferInfo
EndTime String 2022-04-29T15:16:00Z

The end time of stream relay.

AppName String teststream

The name of the application to which the live stream belongs.

StartTime String 2022-04-28T15:16:00Z

The start time of stream relay.

TransferArgs String time

The validity period of stream relay. Valid values:

  • always: The stream can always be relayed.
  • time: The stream can be relayed in a specified time period.
StreamName String teststream

The name of the live stream.

DstUrl String rtmp://push.example2.aliyunlive.com/testapp1/teststream2

The third-party URL to which the live stream is relayed.

DomainName String example.com

The streaming domain.

Examples

Sample request

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

Sample success responses

XML format

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

<DescribeLiveCenterTransferResponse>
    <RequestId>C4865B85-664B-19D3-BB16-C62FB83C8226</RequestId>
    <LiveCenterTransferInfoList>
        <EndTime>2022-04-29T15:16:00Z</EndTime>
        <AppName>teststream</AppName>
        <StartTime>2022-04-28T15:16:00Z</StartTime>
        <TransferArgs>time</TransferArgs>
        <StreamName>teststream</StreamName>
        <DstUrl>rtmp://push.example2.aliyunlive.com/testapp1/teststream2</DstUrl>
        <DomainName>example.com</DomainName>
    </LiveCenterTransferInfoList>
</DescribeLiveCenterTransferResponse>

JSON format

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

{
  "RequestId" : "C4865B85-664B-19D3-BB16-C62FB83C8226",
  "LiveCenterTransferInfoList" : [ {
    "EndTime" : "2022-04-29T15:16:00Z",
    "AppName" : "teststream",
    "StartTime" : "2022-04-28T15:16:00Z",
    "TransferArgs" : "time",
    "StreamName" : "teststream",
    "DstUrl" : "rtmp://push.example2.aliyunlive.com/testapp1/teststream2",
    "DomainName" : "example.com"
  } ]
}

Error codes

For a list of error codes, visit the API Error Center.