閱讀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-阿裏雲