检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
请求示例 GET https://{endpoint}/v1/{project_id}/notifications/publish?domain=push.example.com 响应示例 状态码: 200 直播推流通知配置查询成功 { "url" : "https://endpoint
使用前必读 视频直播服务(Live)是在华为云提供的可信,开放,全球服务直播内容接入与分发网络的基础上,将华为公司在视频领域的多年技术积累和电信级运营和运维能力开放出来,构建了便捷接入、高清流畅、低延迟、高并发的一站式视频直播解决方案。 您可以使用本文档提供API对视频直播进行相
domain 是 String 直播域名 guard_switch 是 String referer防盗链开关:true表示开启;false表示关闭 referer_config_empty 否 String 是否包含referer头域:true表示包含;false表示不包含;guard_switch为true则必填
参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 查询直播播放日志。 GET https://{endpoint}/v1/{project_id}/logs?play_domain=play.example.com&star
app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 DELETE https://{endpoint}/v1/{project_id}/ott/channels?app_name=ott&domain=push.testott
描述 error_code String 错误码 error_msg String 错误描述 请求示例 删除直播截图配置。 DELETE https://{endpoint}/v1/{project_id}/stream/snapshot?domain=testsnapshot.com&app_name=live
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}/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
支持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_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的请求地址,不同服务不同区域的终端节点不同,媒体直播的终端节点如
error_code String 错误码 error_msg String 错误描述 请求示例 删除指定域名的Key防盗链配置。 DELETE https://{endpoint}/v1/{project_id}/guard/key-chain?domain=play.example.huawei