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"
/streams?domain=livepull-test.huaweicloud.com&limit=10&offset=1 响应示例 状态码:200 处理成功返回。 { "history_stream_list" : [ { "domain" : "livepull-test
app=live&stream=pull_stream&domain=livepush-test.huaweicloud.com 响应示例 状态码:200 处理成功返回。 { "bitrate_info_list" : [ { "publish_domain" : "livepush-test
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
up-bandwidth/detail 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 publish_domains 是 Array of strings
"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
推流域名:在视频直播控制台添加的推流域名。 AppName:应用名,默认为“live”,您也可以根据实际需求进行自定义,支持大小写字母、数字、下划线(_)中划线(-)。 StreamName:直播流名,每个应用可创建多个直播流,您可以根据实际需求进行自定义,例如,huawei1,但不支持中文字符。 流名的设置规则为
调用API恢复禁推直播流 调用禁推恢复接口,设置请求参数“domain”、“app_name”和“stream_name”即可恢复禁推直播流。 DELETE /v1/{project_id}/stream/blocks? domain=play.example.com&app_name=
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
服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。 表3 请求Body参数 参数 是否必选 参数类型 描述 domain 是 String 频道推流域名 app_name 是 String 组名或应用名 id 是 String 频道ID。频道唯一标识,为必填项
备进行推流。 特殊定制问题 当前华为云的直播业务还在继续扩展,后续会发布更多更强大的功能。若当前官网已发布的功能无法满足您的业务需求或者您有定制化的需求,建议提交工单进一步咨询。
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
d}/template/transcodings?domain=play.example.com&app_name=live&page=0&size=10 响应示例 状态码:200 直播转码模板查询成功 { "domain" : "play.example.com", "total"
project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 publish_domain 是 String 推流域名 app 否 String 应用名 offset 否 Integer 偏移量,表示从此偏移量开始查询,offset大于等于0
播放URL中的StreamName格式要求? 推流成功后,仍无法播放的原因? 直播对每日的下行流量是否有限制? 直播播放是否限制同时在线观看人数? 支持拉取其它平台的直播流至华为云直播吗? 为什么播放器播放视频时出现黑边? 为什么使用HTTPS地址播放失败? 视频直播服务支持哪些直播流播放协议?
计费方式 视频直播服务支持按需计费和按需预付费资源包两种计费方式,您可以根据实际需求选择资源的计费方式。 按需计费 视频直播服务默认为按需计费,即每个计费周期分别统计各资源的实际使用量,并根据使用量*单价的方式计算出费用,然后从账户余额中扣除对应金额。具体请参见按需计费。 按需预付费资源包
您即将访问非华为云网站,请注意账号财产安全