阅读73 返回首页    go iPhone_iPad_Mac_手机_平板_苹果apple


设置NotifyURL__直播流操作接口_API 手册_CDN-阿里云

描述

设置直播流信息推送到的URL地址,需优先设置在推流域名上,没有推流域名时,设置在播流域名上。

请求参数

参数 类型 必须? 描述
Action String 操作接口名,系统规定参数,取值:SetLiveStreamsNotifyUrlConfig
DomaiName String 您的推流域名
NotifyUrl String 设置直播流信息推送到的URL地址,必须以https://开头;

返回参数

名称 类型 描述
RequestID String 该条任务请求ID

特殊错误码

错误代码 描述 Http 状态码 语义
InternalError The request processing has failed due to some unknown error. 500 后台发生未知错误
InvalidDomain.NotFound The domain provided does not exist in our records. 404 当前账户下未查到域名
IllegalOperation Illegal domain operate is not permitted. 403 不支持当前操作,如:非直播类域名
MissingParameter The input parameter <parameter name> that is mandatory for processing this request is not supplied 400 缺少参数

示例

请求示例:

  1. https://cdn.aliyuncs.com?Action=ResumeLiveStream&DomainName=test101.cdnpe.com&NotifyUrl=https://api.cdnpe.com&<公共请求参数>

返回示例

JSON格式:

  1. {
  2. "RequestId": "4C747C97-7ECD-4C61-8A92-67AD806331FF"
  3. }

XML格式:

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <SetLiveStreamsNotifyUrlConfigResponse>
  3. <RequestId>16BFE188-B193-4C3C-ADC5-79A7E31486EA</RequestId>
  4. </SetLiveStreamsNotifyUrlConfigResponse>

最后更新:2016-11-23 17:16:03

  上一篇:go 恢复直播流推送__直播流操作接口_API 手册_CDN-阿里云
  下一篇:go 添加APP录制配置__直播流操作接口_API 手册_CDN-阿里云