检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 1 2 3 POST https://iam.cn-north-4.myhuaweicloud.com/v3.0/OS-USER/users Content-Type:
设置回调 回调开关。 协议 回调地址支持HTTP/HTTPS协议。HTTP可能存在安全问题,推荐使用HTTPS。 回调地址 回调开关打开后,输入回调地址,回调地址中不能携带消息头和参数。支持HTTP/HTTPS协议,推荐使用HTTPS协议。 截图回调消息以JSON格式,通过HTTP
直播服务常用的消息通知方式为“短信”、“邮件”和“HTTP/HTTPS”。 短信协议 订阅的终端为手机,接收到的消息只包含消息内容。 邮件协议 订阅终端为邮箱,接收到的消息包含消息内容和取消订阅的链接。 HTTP/HTTPS协议 订阅终端为公网网址,消息通知服务向HTTP(S)终端
cache_hit 缓存命中状态,有如下两种: HIT MISS HIT scheme 访问协议,有如下四种: HTTP HTTPS RTMP WebRTC 标准直播:HTTP、HTTPS或RTMP 低时延直播:WebRTC method HTTP方法 GET period_bytes_sent
error_msg String 错误描述 请求示例 修改域名IPV6开关,域名为example.com,IPV6开关为开启 PUT https://{endpoint}/v1/{project_id}/domain/ipv6-switch { "domain" : "example
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/{project_id}/stream/blocks?domain=publish.example.huawei
"app": "live", "stream_name": "test001", "snapshot_url": "https://xxx.obs.cn-north-4.myhuaweicloud.com:443...", "width": 720,
请求示例 GET https://{endpoint}/v1/{project_id}/notifications/publish?domain=push.example.com 响应示例 状态码: 200 直播推流通知配置查询成功 { "url" : "https://endpoint
参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 查询直播播放日志。 GET https://{endpoint}/v1/{project_id}/logs?play_domain=play.example.com&star
on:启用。 off:不启用。 call_back_url String 通知服务器地址,必须是合法的URL且携带协议,协议支持http和https。截图完成后直播服务会向此地址推送截图状态信息。 表6 ObsFileAddr 参数 参数类型 描述 bucket String OBS的bucket名称
on:启用。 off:不启用。 call_back_url 否 String 通知服务器地址,必须是合法的URL且携带协议,协议支持http和https。截图完成后直播服务会向此地址推送截图状态信息。 表4 ObsFileAddr 参数 是否必选 参数类型 描述 bucket 是 String
on:启用。 off:不启用。 call_back_url 否 String 通知服务器地址,必须是合法的URL且携带协议,协议支持http和https。截图完成后直播服务会向此地址推送截图状态信息。 表4 ObsFileAddr 参数 是否必选 参数类型 描述 bucket 是 String
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/stream/bandwidth?domain=play.example.huawei
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/stream/traffic?domain=play.example.huawei
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/guard/referer-chain?domain=play.example
服务从URL拉流直接推流到源站。 如果媒资输入类型为“HLS_PULL”时,用户提供的音视频URL需注意: 拉流URL仅支持HTTP、HTTPS协议,暂不支持其他协议。 不支持加密流。 不支持纯音频。 不支持展示字幕。 默认不展示“HLS_PULL”,需提交工单申请使用。 SRT
描述 error_code String 错误码 error_msg String 错误描述 请求示例 查询域名HLS配置。 GET https://{endpoint}/v1/{project_id}/domain/hls?push_domain=push.example.com
支持RTMP推流。 支持HTTP-FLV拉流,起播需携带sequence header。 支持HLS-PULL拉流,支持HLS V3协议、HTTP或HTTPS协议。 支持SRT-Listener推流,仅支持TS流,支持携带streamid或不携带streamid。 支持SRT-Caller拉流,仅支持TS流。
推流域名 app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 PUT https://{endpoint}/v1/{project_id}/ott/channels/record-settings { "domain"
描述 error_code String 错误码 error_msg String 错误描述 请求示例 修改播放域名延时配置。 PUT https://{endpoint}/v1/{project_id}/domain/delay { "play_domain" : "pull