调用DescribeLiveLazyPullStreamConfig查询播流域名下触发拉流配置信息。

使用说明

本接口适用于触发拉流,调用本接口查询播流域名下触发拉流配置信息。

QPS限制

本接口的单用户QPS限制为1000次/分钟。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见QPS限制

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeLiveLazyPullStreamConfig

系统规定参数。取值:DescribeLiveLazyPullStreamConfig

DomainName String example.com

主播流域名。

AppName String liveApp****

播流所属应用名称。

返回数据

名称 类型 示例值 描述
RequestId String A3136B58-5876-4168-83CA-B562781981A0

请求ID。

LiveLazyPullConfigList Array of LiveLazyPullConfig

拉流配置。

LiveLazyPullConfig
AppName String liveApp****

应用名称。

PullAppName String livePullApp****

回源播流所属应用名称。 使用播放URL中的App则该项为空。

PullProtocol String RTMP

回源播流协议。取值:

  • rtmp
  • httpflv
  • hls
PullDomainName String guide.aliyundoc.com

回源播域名。

DomainName String example.com

主播流域名。

示例

请求示例

http(s)://live.aliyuncs.com/?Action=DescribeLiveLazyPullStreamConfig
&DomainName=example.com
&<公共请求参数>

正常返回示例

XML格式

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

<DescribeLiveLazyPullStreamConfigResponse>
    <RequestId>A3136B58-5876-4168-83CA-B562781981A0</RequestId>
    <LiveLazyPullConfigList>
        <LiveLazyPullConfig>
            <PullProtocol>rtmp</PullProtocol>
            <DomainName>example.com</DomainName>
            <PullDomainName>guide.aliyundoc.com</PullDomainName>
            <PullAppName>livePullApp****</PullAppName>
            <AppName>liveApp****</AppName>
        </LiveLazyPullConfig>
    </LiveLazyPullConfigList>
</DescribeLiveLazyPullStreamConfigResponse>

JSON格式

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

{
  "DescribeLiveLazyPullStreamConfigResponse" : {
    "RequestId" : "A3136B58-5876-4168-83CA-B562781981A0",
    "LiveLazyPullConfigList" : {
      "LiveLazyPullConfig" : {
        "PullProtocol" : "rtmp",
        "DomainName" : "example.com",
        "PullDomainName" : "guide.aliyundoc.com",
        "PullAppName" : "livePullApp****",
        "AppName" : "liveApp****"
      }
    }
  }
}

错误码

访问错误中心查看更多错误码。

特殊错误码

错误代码

描述

HTTP 状态码

语义

Missing DomainName

DomainName is mandatory for this action.

400

缺少参数。

InvalidDomain.NotFound

The domain provided does not exist in our records.

404

当前账户下未查到域名。