检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
直播服务常用的消息通知方式为“短信”、“邮件”和“HTTP/HTTPS”。 短信协议 订阅的终端为手机,接收到的消息只包含消息内容。 邮件协议 订阅终端为邮箱,接收到的消息包含消息内容和取消订阅的链接。 HTTP/HTTPS协议 订阅终端为公网网址,消息通知服务向HTTP(S)终端
is not supported. The API only supports the HTTPS protocol. 协议不支持,当前API仅支持https协议,不支持http协议 请使用https协议 400 LIVE.100011006 This API is not supported
is not supported. The API only supports the HTTPS protocol. 协议不支持,当前API仅支持https协议,不支持http协议 请使用https协议 400 LIVE.100011006 This API is not supported
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 错误描述 请求示例 DELETE https://{endpoint}/v1/{project_id}/guard/referer-chain?domain=play.example
参数类型 描述 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名称
app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 DELETE https://{endpoint}/v1/{project_id}/ott/channels?app_name=ott&domain=push.testott
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
描述 error_code String 错误码 error_msg String 错误描述 请求示例 删除直播截图配置。 DELETE https://{endpoint}/v1/{project_id}/stream/snapshot?domain=testsnapshot.com&app_name=live
描述 error_code String 错误码 error_msg String 错误描述 请求示例 删除直播域名。 DELETE https://{endpoint}/v1/{project_id}/domain?domain=play.example.com 响应示例 状态码:
描述 error_code String 错误码 error_msg String 错误描述 请求示例 删除直播转码模板。 DELETE https://{endpoint}/v1/{project_id}/template/transcodings?domain=play.example
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/{project_id}/notifications/publish?domain=push.example
服务从URL拉流直接推流到源站。 如果媒资输入类型为“HLS_PULL”时,用户提供的音视频URL需注意: 拉流URL仅支持HTTP、HTTPS协议,暂不支持其他协议。 不支持加密流。 不支持纯音频。 不支持展示字幕。 默认不展示“HLS_PULL”,需提交工单申请使用。 SRT
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/guard/referer-chain?domain=play.example