检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/{project_id}/notifications/publish?domain=push.example
描述 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}/domains_mapping?pull_domain=play.example
描述 error_code String 错误码 error_msg String 错误描述 请求示例 查询域名HLS配置。 GET https://{endpoint}/v1/{project_id}/domain/hls?push_domain=push.example.com
服务从URL拉流直接推流到源站。 如果媒资输入类型为“HLS_PULL”时,用户提供的音视频URL需注意: 拉流URL仅支持HTTP、HTTPS协议,暂不支持其他协议。 不支持加密流。 不支持纯音频。 不支持展示字幕。 默认不展示“HLS_PULL”,需提交工单申请使用。 SRT
支持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"
支持RTMP推流。 支持HTTP-FLV拉流,起播需携带sequence header。 支持HLS-PULL拉流,支持HLS V3协议、HTTP或HTTPS协议。 支持SRT-Listener推流,仅支持TS流,支持携带streamid或不携带streamid。 支持SRT-Caller拉流,仅支持TS流。
描述 error_code String 错误码 error_msg String 错误描述 请求示例 修改播放域名延时配置。 PUT https://{endpoint}/v1/{project_id}/domain/delay { "play_domain" : "pull
描述 error_code String 错误码 error_msg String 错误描述 请求示例 查询播放域名延时配置。 GET https://{endpoint}/v1/{project_id}/domain/delay?play_domain=pull.example.test
错误码 error_msg String 错误描述 请求示例 修改OBS桶授权策略,桶名称为video-test02,操作为授权。 PUT https://{endpoint}/v1/${project_id}/obs/authority { "bucket" : "video-test02"
描述 error_code String 错误码 error_msg String 错误描述 请求示例 查询禁止直播推流列表。 GET https://{endpoint}/v1/{project_id}/stream/blocks?domain=publish.example.huawei
体直播用户指南》。 媒体直播服务提供了REST(Representational State Transfer)风格API,支持您通过HTTPS请求调用,调用方法请参见如何调用API。 终端节点 终端节点即调用API的请求地址,不同服务不同区域的终端节点不同,媒体直播的终端节点如
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/realtime/streams?publish_domain=push.example
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/stream/users?domain=play.example.huawei
推流域名 app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 PUT https://{endpoint}/v1/{project_id}/ott/channels/general { "domain" : "push