检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
安全 责任共担 身份认证与访问控制 数据保护技术 服务韧性 监控安全风险 认证证书
x 设置referer防盗链黑白名单 √ x 删除referer防盗链黑白名单 √ x 查询referer防盗链黑白名单 √ √ 查询HTTPS证书信息 √ √ 获取直播播放日志下载链接 √ √ 创建录制规则 √ x 查询录制规则列表 √ √ 修改录制规则 √ x 删除录制规则 √
String 错误描述 请求示例 PUT https://{endpoint}/v1/{project_id}/notifications/publish?domain=push.example.com { "url" : "https://endpoint.com/v1/test"
格式为十进制的UNIX时间戳,即从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数。 若消息通知中的auth_timestamp值所指定的时间已经过期,则此消息通知无效,进而防止网络重放攻击。 error_message 录制失败的描述信息。 当“event_type”为“RECORD_FAILED”时,携带该字段。
描述 error_code String 错误码 error_msg String 错误描述 请求示例 创建录制回调配置。 POST https://{endpoint}/v1/{project_id}/record/callbacks { "publish_domain"
参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 修改录制回调配置。 PUT https://{endpoint}/v1/{project_id}/record/callback/e89b76xxxxxx3425ui80af501cdxxxxxx
详细信息请参见构造请求。以“华北-北京四”为示例,若您需要调用其它区域的媒体直播接口,请替换成对应区域的IAM终端节点。 POST https://iam.cn-north-4.myhuaweicloud.com/v3/auth/tokens Content-Type: application/json
请求示例 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}/stream/snapshot?domain=testsnapshot.com&app_name=live
参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 查询直播播放日志。 GET https://{endpoint}/v1/{project_id}/logs?play_domain=play.example.com&star
描述 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}/domain?domain=play.example.com 响应示例 状态码:
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/{project_id}/notifications/publish?domain=push.example
on:启用。 off:不启用。 call_back_url String 通知服务器地址,必须是合法的URL且携带协议,协议支持http和https。截图完成后直播服务会向此地址推送截图状态信息。 表6 ObsFileAddr 参数 参数类型 描述 bucket String OBS的bucket名称
描述 error_code String 错误码 error_msg String 错误描述 请求示例 查询域名HLS配置。 GET https://{endpoint}/v1/{project_id}/domain/hls?push_domain=push.example.com
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/{project_id}/domains_mapping?pull_domain=play.example
描述 error_code String 错误码 error_msg String 错误描述 请求示例 查询播放域名延时配置。 GET https://{endpoint}/v1/{project_id}/domain/delay?play_domain=pull.example.test
描述 error_code String 错误码 error_msg String 错误描述 请求示例 修改播放域名延时配置。 PUT https://{endpoint}/v1/{project_id}/domain/delay { "play_domain" : "pull
on:启用。 off:不启用。 call_back_url 否 String 通知服务器地址,必须是合法的URL且携带协议,协议支持http和https。截图完成后直播服务会向此地址推送截图状态信息。 表4 ObsFileAddr 参数 是否必选 参数类型 描述 bucket 是 String
String 错误码 error_msg String 错误描述 请求示例 修改直播拉流回源配置,仅支持RTMP、FLV域名。 PUT https://{endpoint}/v1/{project_id}/domain/pull-sources { "play_domain"