检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ListBandwidthDetailRequest request = new ListBandwidthDetailRequest(); try { ListBandwidthDetailResponse response = client
上降低30-40%直播码率。 稳定可靠 支持多中心和跨区域的集群保障和容灾能力,7*24小时服务支持。基于华为20年实践经验的云原生2.0搭建的直播服务架构安全可信、敏捷智能,可快速弹性扩容,为您的直播业务保驾护航。 数据统计 提供包含直播用量统计、增值服务统计、流播放画像等多维
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
000000", "domain_id": "d78cbac1..........", "xdomain_id": "30086000........", "xdomain_type": "", "
000000", "domain_id": "d78cbac1..........", "xdomain_id": "30086000........", "xdomain_type": "", "
服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 表3 请求Body参数 参数 是否必选 参数类型 描述 domain 是 String 频道推流域名 app_name 是 String 组名或应用名 id 是 String 频道ID。频道唯一标识,为必填项
服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 表3 请求Body参数 参数 是否必选 参数类型 描述 domain 是 String 频道推流域名 app_name 是 String 组名或应用名 id 是 String 频道ID。频道唯一标识,为必填项
服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 表3 请求Body参数 参数 是否必选 参数类型 描述 domain 是 String 频道推流域名 app_name 是 String 组名或应用名 id 是 String 频道ID。频道唯一标识,为必填项。
apshot/{domain}/{app_name}/{stream_name}/{UnixTimestamp}.jpg 1:覆盖模式,截图文件名不含时间戳,每条流只保存最新的截图文件,新的截图文件会覆盖原来的截图文件。示例:snapshot/{domain}/{app_name}/{stream_name}
flv?vhost=domain&arg1=v1 或 https://domain/appname/streamname.m3u8?vhost=domain&arg1=v1 如果需要关闭自动降级,可以通过接口setParameter设置AUTO_DOWNGRADE值来修改,示例如下:
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}
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
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
auth_sign = HmacSHA256(event + domain + app + stream + auth_timestamp, key) 其中,key为鉴权密钥值。 消息示例,如下所示: { "domain":"push.example.com", "app":"live"
"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
apshot/{domain}/{app_name}/{stream_name}/{UnixTimestamp}.jpg 1:覆盖模式,截图文件名不含时间戳,每条流只保存最新的截图文件,新的截图文件会覆盖原来的截图文件。示例:snapshot/{domain}/{app_name}/{stream_name}