检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
are hard-coded or stored in plaintext, which has great security risks.
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
domain=play.example.com&app_name=live&stream_name=live 父主题: 直播推流
RECORD_FAILED表示录制失败。
are hard-coded or stored in plaintext, which has great security risks.
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
are hard-coded or stored in plaintext, which has great security risks.
hard-coded or stored in plaintext, which has great security risks.
domain=publish.example.huawei.com&app_name=live&stream_name=huawei 请求消息头中增加“X-Auth-Token”,值设置为步骤2中获取的用户Token。
表3 请求Body参数 参数 是否必选 参数类型 描述 domain 是 String 频道推流域名 app_name 是 String 组名或应用名 id 是 String 频道ID。
are hard-coded or stored in plaintext, which has great security risks.
failover_conditions 否 FailoverConditions object 非必填,频道供应商提供的主备音视频流URL切换的配置。 max_bandwidth_limit 否 Integer 当入流协议为HLS_PULL时,需要配置的最大带宽。
domain=play.example.com&app_name=live&page=0&size=10 响应示例 状态码: 200 直播转码模板查询成功 { "domain" : "play.example.com", "total" : 1, "templates"
are hard-coded or stored in plaintext, which has great security risks.
表2 Query参数 参数 是否必选 参数类型 描述 publish_domain 是 String 推流域名 app 否 String 应用名 offset 否 Integer 偏移量,表示从此偏移量开始查询,offset大于等于0 limit 否 Integer 每页记录数,取值范围
{ "domain": "play.example.com", "app_name": "live", "quality_info": [ { "templateName": "", "quality": "lsd", "
hard-coded or stored in plaintext, which has great security risks.
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
调用API禁止推流 调用禁止直播推流接口,设置请求参数“domain”、“app_name”、“stream_name”和“resume_time”即可禁推指定的直播流。
are hard-coded or stored in plaintext, which has great security risks.