检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
"LIVE.100011001", "error_msg" : "Request Illegal" } SDK代码示例 SDK代码示例如下。 Java 修改直播截图配置。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
"error_msg" : "Invalid request parameter: start_time" } SDK代码示例 SDK代码示例如下。 Java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
"error_msg" : "Invalid request parameter: publish_domain" } SDK代码示例 SDK代码示例如下。 Java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
"LIVE.100011001", "error_msg" : "Request Illegal" } SDK代码示例 SDK代码示例如下。 Java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
"error_msg" : "Invalid request parameter: play_domains" } SDK代码示例 SDK代码示例如下。 Java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
"error_msg" : "Invalid request parameter: play_domains" } SDK代码示例 SDK代码示例如下。 Java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
"LIVE.100011001", "error_msg" : "Request Illegal" } SDK代码示例 SDK代码示例如下。 Java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
参数配置说明,如表1所示。 图1 开停播通知配置 表1 参数配置 参数 说明 协议 推流通知地址支持HTTP/HTTPS协议。HTTP可能存在安全问题,推荐使用HTTPS。 推流通知地址 通知地址仅支持HTTP和HTTPS协议。 鉴权密钥(可选) 鉴权Key值。若需要使用通知鉴权功能,请配置鉴权密钥,否则,留空即可。
直播服务常用的消息通知方式为“短信”、“邮件”和“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
修订记录 表1 修订记录 发布日期 修改说明 2024-02-23 第五十一次发布: 本次变更如下: 修改创建录制规则和修改录制规则接口FLV、MP4格式的“record_cycle” 字段最大值。 2023-09-19 第五十次发布: 本次变更如下: 修改转码模板管理组接口。请
服务从URL拉流直接推流到源站。 如果媒资输入类型为“HLS_PULL”时,用户提供的音视频URL需注意: 拉流URL仅支持HTTP、HTTPS协议,暂不支持其他协议。 不支持加密流。 不支持纯音频。 不支持展示字幕。 默认不展示“HLS_PULL”,需提交工单申请使用。 SRT
响应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
推流域名 app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 PUT https://{endpoint}/v1/{project_id}/ott/channels/state { "domain" : "push
"stream" : "mystream", "record_format" : "HLS", "download_url" : "https://obs.cn-north-4.myhuaweicloud.com/live/record-xxxx-mystream-1589967495/record-push
推流域名 app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 PUT https://{endpoint}/v1/{project_id}/ott/channels/input { "domain" : "push
推流域名 app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 POST https://{endpoint}/v1/{project_id}/ott/channels { "domain" : "push.testott