检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
200,应答内容为JSON格式,用户可以根据实际需求自定义应答内容。 示例如下: { "status": 1, "result" : "success" } 整体流程 图1 回调流程 推流回调 推流回调用于推送推流状态信息,包括推流成功和推流中断,回调消息字段如表1所示。 表1 消息体字段说明
not have permission to access the API. 未授权访问接口 请联系主账号管理员开通接口权限 401 LIVE.100011014 Your account is not allowed to access the service, because it
not have permission to access the API. 未授权访问接口 请联系主账号管理员开通接口权限 401 LIVE.100011014 Your account is not allowed to access the service, because it
视频编码格式。 包含如下取值: H264:使用H.264。 H265:使用H.265。 默认为H264。 width Integer 视频的长边。其中,横屏为宽,即长边,竖屏为高。单位:像素。 包含如下取值: codec的取值为H264时,width建议取值范围为[32,3840],且必须为2整数倍。
开停播通知 视频直播提供了直播流开停播通知功能,您可以在直播控制台中为推流域名添加接收直播推流或断流通知的地址,通过HTTP接口向用户服务器发送POST请求,将直播流推送成功或中断的状态实时反馈到用户服务器,用户服务器通过200响应返回接口结果。 注意事项 启用开停播通知功能后,
修改域名HLS配置 功能介绍 修改域名HLS配置。 调用方法 请参见如何调用API。 URI PUT /v1/{project_id}/domain/hls 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,获取方法请参考获取项目ID。
包含如下取值: H264:使用H.264。 H265:使用H.265。 默认为H264。 width 否 Integer 视频的长边。其中,横屏为宽,即长边,竖屏为高。单位:像素。 包含如下取值: codec的取值为H264时,width建议取值范围为[32,3840],且必须为2整数倍。
包含如下取值: H264:使用H.264。 H265:使用H.265。 默认为H264。 width 否 Integer 视频的长边。其中,横屏为宽,即长边,竖屏为高。单位:像素。 包含如下取值: codec的取值为H264时,width建议取值范围为[32,3840],且必须为2整数倍。
"enabled": true, "pwd_status": false, "access_mode": "default", "is_domain_owner": false, "xuser_id":
视频监控类业务如何接入Live? 场景介绍 某视频监控类用户希望将流媒体推送到华为云直播源站,通过直播服务对流媒体进行分发,使监控设备可以无论所处何地都可以快速地获取到流媒体,让设备使用者可以随时获取到监控现场的情况。 在对接前,先了解下视频监控类业务和普通直播的主要区别: 视频
"enabled": true, "pwd_status": false, "access_mode": "default", "is_domain_owner": false, "xuser_id":
查询域名HLS配置 功能介绍 查询域名HLS配置。 调用方法 请参见如何调用API。 URI GET /v1/{project_id}/domain/hls 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,获取方法请参考获取项目ID。
application/json X-Sdk-Date: 20240416T095341Z Authorization: SDK-HMAC-SHA256 Access=****************, SignedHeaders=content-type;host;x-sdk-date, Sign
application/json X-Sdk-Date: 20240416T095341Z Authorization: SDK-HMAC-SHA256 Access=****************, SignedHeaders=content-type;host;x-sdk-date, Sign
{ "error_code" : "LIVE.100011003", "error_msg" : "Unauthorized access to the interface, please contact the main account administrator to
{ "error_code" : "LIVE.100011003", "error_msg" : "Unauthorized access to the interface, please contact the main account administrator to
{ "error_code" : "LIVE.100011003", "error_msg" : "Unauthorized access to the interface, please contact the main account administrator to
{ "error_code" : "LIVE.100011003", "error_msg" : "Unauthorized access to the interface, please contact the main account administrator to
{ "error_code" : "LIVE.100011003", "error_msg" : "Unauthorized access to the interface, please contact the main account administrator to
{ "error_code" : "LIVE.100011003", "error_msg" : "Unauthorized access to the interface, please contact the main account administrator to