检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
放域名配置CNAME解析,开启直播推流加速和播放加速。 4 开启HTTPS安全加速 您可以为低时延直播开启HTTPS安全加速,保障您的直播数据在传输过程中受到加密保护。 仅低时延直播场景,需要执行此操作。 4 配置推流(可选) 配置转码模板 配置录制模板 配置截图模板 配置推流鉴权
"username", "password": "password", "domain": { "name": "domainname" } } } }, "scope":
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
域名需要在工信部备案,推荐您在华为云备案中心备案。 须知: 如果您选择的加速区域存在跨境场景,您应自行对您的数据跨境行为负责,详见服务声明“2.3 对您的内容数据处理”章节。 推流协议 如果添加的是媒体直播的推流域名,才会展示当前配置项。 媒体直播的推流协议。 包含如下选项:
"username", "password": "password", "domain": { "name": "domainname" } } } }, "scope":
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
}/template/transcodings?domain=play.example.com&app_name=live&page=0&size=10 响应示例 状态码: 200 直播转码模板查询成功 { "domain" : "play.example.com", "total"
调用禁止直播推流接口,设置请求参数“domain”、“app_name”、“stream_name”和“resume_time”即可禁推指定的直播流。 POST /v1/{project_id}/stream/blocks { "domain": "play.example.com"
备入流数组,非必填项。如果有备入流,则主备入流必须保证路数、codec和分辨率均一致。入流协议为RTMP_PUSH时,无需填写。 failover_conditions 否 FailoverConditions object 非必填,频道供应商提供的主备音视频流URL切换的配置。 max_bandwidth_limit
针对频道回看或时移URL,如果“录制窗口大小”为7天,用户获取的是最早一天的回看URL,需要立即观看,否则随着时间推移,超过“录制窗口大小”之前的录制数据会老化,无法播放。 父主题: 工具库
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
域名需要在工信部备案,推荐您在华为云备案中心备案。 须知: 如果您选择的加速区域存在跨境场景,您应自行对您的数据跨境行为负责,详见服务声明“2.3 对您的内容数据处理”章节。 推流协议 如果添加的是媒体直播的推流域名,才会展示当前配置项。 媒体直播的推流协议。 包含如下选项:
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
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。 说明:
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id":