-
查询直播转码模板 - 视频直播 Live
}/template/transcodings?domain=play.example.com&app_name=live&page=0&size=10 响应示例 状态码: 200 直播转码模板查询成功 { "domain" : "play.example.com", "total"
-
查询频道信息 - 视频直播 Live
备入流数组,非必填项。如果有备入流,则主备入流必须保证路数、codec和分辨率均一致。入流协议为RTMP_PUSH时,无需填写。 failover_conditions FailoverConditions object 有主备入流时,当前参数为必选。入流协议为RTMP_PUSH时,无需填写。
-
查询播放流量趋势接口 - 视频直播 Live
ListDomainTrafficDetailRequest request = new ListDomainTrafficDetailRequest(); try { ListDomainTrafficDetailResponse response
-
查询直播推流通知配置 - 视频直播 Live
String 鉴权密钥 call_back_area String 接收回调通知服务器所在区域。 包含如下取值: mainland_china:中国大陆区域。 outside_mainland_china:中国大陆以外区域。 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code
-
修改录制回调配置 - 视频直播 Live
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
新建OTT频道 - 视频直播 Live
备入流数组,非必填项。如果有备入流,则主备入流必须保证路数、codec和分辨率均一致。入流协议为RTMP_PUSH时,无需填写。 failover_conditions 否 FailoverConditions object 有主备入流时,当前参数为必选。入流协议为RTMP_PUSH时,无需填写。
-
创建录制回调配置 - 视频直播 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
服务鉴权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}
-
修改IP黑/白名单 - 视频直播 Live
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
查询指定域名的https证书配置 - 视频直播 Live
build(); ShowDomainHttpsCertRequest request = new ShowDomainHttpsCertRequest(); try { ShowDomainHttpsCertResponse response
-
查询禁止直播推流列表 - 视频直播 Live
项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 domain 是 String 域名 app_name 否 String 应用名称,不指定则查询domain下所有应用的禁止直播推流信息 stream_name 否 String 流名称 page
-
直播录制后,为什么在控制台和回调信息中无播放地址? - 视频直播 Live
信息中仅有“download_url”下载地址,没有“play_url”播放地址。OBS桶授权给点播服务的具体配置请参见配置录制模板。 在视频点播服务侧未成功添加点播加速域名,具体配置方法请参见配置域名。 父主题: 直播录制
-
删除直播推流通知配置 - 视频直播 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
"record_prefix" : "record-publish_domain-app-stream-file_start_time_unix/record-publish_domain-app-stream-file_start_time_unix",
-
删除录制规则 - 视频直播 Live
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
查询IP黑/白名单 - 视频直播 Live
https://{endpoint}/v1/{project_id}/guard/ip?domain=play.example.huawei.com 响应示例 状态码: 200 查询IP黑/白名单成功 { "domain" : "play.example.huawei.com", "auth_type"
-
新增、修改直播推流通知配置 - 视频直播 Live
鉴权密钥 call_back_area 否 String 接收回调通知服务器所在区域。 包含如下取值: mainland_china:中国大陆区域。 outside_mainland_china:中国大陆以外区域。 响应参数 状态码: 400 表5 响应Body参数 参数 参数类型
-
修改直播转码模板 - 视频直播 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