检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
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
https://{endpoint}/v1/{project_id}/schedule/record/tasks { "domain" : "publish.domain.com", "app" : "live", "stream" : "huawei", "start_time"
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id":
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id":
project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 domain 是 String 推流域名 app_name 是 String 应用名称 stream_name 是 String 流名称(不为*) 请求参数
"result_code" : "LIVE.100011001", "result_msg" : "param check failed", "domain" : "push.testott.hls.com", "app_name" : "ott", "id" : ""
所有人 所有用户均有权限向该主题发布消息。 仅如下用户 设置可向该主题发布消息的用户。 格式为urn:csp:iam::domainId:root 其中,domainId即为用户的账号ID。多个用户时,以英文逗号隔开,可输入的用户数量没有限制,但生成的策略总长度不超过30KB。 说明:
流时长超过了最大断流合并时长,当前录制任务结束,触发该事件。 RECORD_FAILED:表示录制失败,当拉流失败、录制文件上传OBS失败等因素导致录制失败时,触发该事件。 publish_domain 直播推流域名。 app 应用名。 stream 录制的流名。 record_format
彩赛事等录制内容永久保存和多渠道分发。 支持DRM数字版权保护 支持主流加密方案Fairplay、Widevine、PlayReady和MultiDRM,确保用户高价值媒资内容不泄露。 支持SSAI广告插入和广告跟踪(公测中) 支持服务端线性广告pre-roll、mid-roll
正在进行拉流的直播日志一般4个小时后才能获取到最完整的日志文件。 日志格式: 标准直播场景: [time_local]|play_domain|client_ip|cdn_ip|url|http_code|cache_hit|scheme|method|period_bytes
showTranscodingsTemplate( new ShowTranscodingsTemplateRequest().withDomain(domain) // domain 为需要查询的域名 ); logger.info(showTranscodingsTemplateResponse.toString());
、中东-利雅得、中国-香港、非洲-约翰内斯堡。 中东-利雅得、中国-香港、非洲-约翰内斯堡区域默认不开放,如需使用,请提交工单与华为云技术客服联系。 欧洲站都柏林入口,支持区域:欧洲-都柏林。 加速区域 播放域名可执行加速的地域,可参考如何选择直播源站和加速区域?选择。仅对播放域
备入流数组,非必填项。如果有备入流,则主备入流必须保证路数、codec和分辨率均一致。入流协议为RTMP_PUSH时,无需填写。 failover_conditions 否 FailoverConditions object 非必填,频道供应商提供的主备音视频流URL切换的配置。 max_bandwidth_limit
备入流数组,非必填项。如果有备入流,则主备入流必须保证路数、codec和分辨率均一致。入流协议为RTMP_PUSH时,无需填写。 failover_conditions FailoverConditions object 非必填,频道供应商提供的主备音视频流URL切换的配置。 max_bandwidth_limit
除”,删除接收推流通知的URL或鉴权密钥。 回调示例 直播推流和断流生成事件通知示例如下。通知消息体字段如表2所示。 { "domain":"push.example.com", "app":"live", "stream":"example_stream"