检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
备入流数组,非必填项。如果有备入流,则主备入流必须保证路数、codec和分辨率均一致。入流协议为RTMP_PUSH时,无需填写。 failover_conditions FailoverConditions object 非必填,频道供应商提供的主备音视频流URL切换的配置。 max_bandwidth_limit
String 鉴权密钥 call_back_area String 接收回调通知服务器所在区域。 包含如下取值: mainland_china:中国大陆区域。 outside_mainland_china:中国大陆以外区域。 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code
鉴权密钥 call_back_area 否 String 接收回调通知服务器所在区域。 包含如下取值: mainland_china:中国大陆区域。 outside_mainland_china:中国大陆以外区域。 响应参数 状态码: 400 表5 响应Body参数 参数 参数类型
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
apshot/{domain}/{app_name}/{stream_name}/{UnixTimestamp}.jpg 1:覆盖模式,截图文件名不含时间戳,每条流只保存最新的截图文件,新的截图文件会覆盖原来的截图文件。示例:snapshot/{domain}/{app_name}/{stream_name}
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
除”,删除接收推流通知的URL或鉴权密钥。 回调示例 直播推流和断流生成事件通知示例如下。通知消息体字段如表2所示。 { "domain":"push.example.com", "app":"live", "stream":"example_stream"
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
备入流数组,非必填项。如果有备入流,则主备入流必须保证路数、codec和分辨率均一致。入流协议为RTMP_PUSH时,无需填写。 failover_conditions 否 FailoverConditions object 非必填,频道供应商提供的主备音视频流URL切换的配置。 max_bandwidth_limit
Integer 符合查询条件的总条目数 domain String 播放域名 logs Array of LogInfo objects 日志信息列表 表5 LogInfo 参数 参数类型 描述 name String 日志文件名,打包文件名格式:{Domain}_{logStartTimeStamp}
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
信息。 日志示例: {"app":"stage","ctime":"2022-12-01T12:32:31.981+08:00","domain":"pull1822.example.com","hit_type":-1,"http_header_referer":"-","ht
apshot/{domain}/{app_name}/{stream_name}/{UnixTimestamp}.jpg 1:覆盖模式,截图文件名不含时间戳,每条流只保存最新的截图文件,新的截图文件会覆盖原来的截图文件。示例:snapshot/{domain}/{app_name}/{stream_name}
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
https://{endpoint}/v1/{project_id}/guard/ip?domain=play.example.huawei.com 响应示例 状态码: 200 查询IP黑/白名单成功 { "domain" : "play.example.huawei.com", "auth_type"
apshot/{domain}/{app_name}/{stream_name}/{UnixTimestamp}.jpg 1:覆盖模式,截图文件名不含时间戳,每条流只保存最新的截图文件,新的截图文件会覆盖原来的截图文件。示例:snapshot/{domain}/{app_name}/{stream_name}
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 domain 是 String 域名 app_name 否 String 应用名称,不指定则查询domain下所有应用的禁止直播推流信息 stream_name 否 String 流名称 page