-
获取项目ID - 视频直播 Live
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id":
-
示例1:创建转码模板 - 视频直播 Live
"username", "password": "password", "domain": { "name": "domainname" } } } }, "scope":
-
示例3:禁止直播推流 - 视频直播 Live
"username", "password": "password", "domain": { "name": "domainname" } } } }, "scope":
-
修改禁推属性 - 视频直播 Live
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
离线日志下载 - 视频直播 Live
正在进行拉流的直播日志一般4个小时后才能获取到最完整的日志文件。 日志格式: 标准直播场景: [time_local]|play_domain|client_ip|cdn_ip|url|http_code|cache_hit|scheme|method|period_bytes
-
提交录制控制命令 - 视频直播 Live
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
查询推流码率数据接口 - 视频直播 Live
app=live&stream=pull_stream&domain=livepush-test.huaweicloud.com 响应示例 状态码: 200 处理成功返回。 { "bitrate_info_list" : [ { "publish_domain" : "livepush-test
-
修改频道状态 - 视频直播 Live
服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 表3 请求Body参数 参数 是否必选 参数类型 描述 domain 是 String 频道推流域名 app_name 是 String 组名或应用名 id 是 String 频道ID。频道唯一标识,为必
-
查询直播推流通知配置 - 视频直播 Live
String 鉴权密钥 call_back_area String 接收回调通知服务器所在区域。 包含如下取值: mainland_china:中国大陆区域。 outside_mainland_china:中国大陆以外区域。 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code
-
修改频道录制信息 - 视频直播 Live
服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 表3 请求Body参数 参数 是否必选 参数类型 描述 domain 是 String 频道推流域名 app_name 是 String 组名或应用名 id 是 String 频道ID。频道唯一标识,为必填项
-
修改直播截图配置 - 视频直播 Live
OBS桶。例:snapshot/{domain}/{app_name}/{stream_name}/{UnixTimestamp}.jpg 1:覆盖截图,只保存最新的截图文件,新的截图会覆盖原来的截图文件。例:snapshot/{domain}/{app_name}/{stream_name}
-
删除直播转码模板 - 视频直播 Live
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
删除直播推流通知配置 - 视频直播 Live
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
状态码 - 视频直播 Live
服务器不支持请求的功能,无法完成请求。 502 Bad Gateway 充当网关或代理的服务器,从远端服务器接收到了一个无效的请求。 503 Service Unavailable 被请求的服务无效。 建议直接修改该请求,不要重试该请求。 504 Gateway Timeout 网关超时。 父主题: 附录
-
删除录制规则 - 视频直播 Live
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
查询推流帧率数据接口 - 视频直播 Live
app=live&stream=pull_stream&domain=livepush-test.huaweicloud.com 响应示例 状态码: 200 处理成功返回。 { "framerate_info_list" : [ { "publish_domain" : "livepush-test
-
新增、修改直播推流通知配置 - 视频直播 Live
鉴权密钥 call_back_area 否 String 接收回调通知服务器所在区域。 包含如下取值: mainland_china:中国大陆区域。 outside_mainland_china:中国大陆以外区域。 响应参数 状态码: 400 表5 响应Body参数 参数 参数类型
-
获取项目ID - 视频直播 Live
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id":
-
禁推恢复 - 视频直播 Live
project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 domain 是 String 推流域名 app_name 是 String 应用名称 stream_name 是 String 流名称(不为*) 请求参数
-
修改频道通用信息 - 视频直播 Live
服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 表3 请求Body参数 参数 是否必选 参数类型 描述 domain 是 String 频道推流域名 app_name 是 String 组名或应用名 id 是 String 频道ID。频道唯一标识,为必填项