public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
app=live&stream=pull_stream&domain=livepush-test.huaweicloud.com 响应示例 状态码:200 处理成功返回。 { "framerate_info_list" : [ { "publish_domain" : "livepush-test
up-bandwidth/detail 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 publish_domains 是 Array of strings
/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
项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 domain 是 String 域名 app_name 否 String 应用名称,不指定则查询domain下所有应用的禁止直播推流信息 stream_name 否 String 流名称 page
调用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
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
"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
project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 publish_domain 是 String 推流域名 app 否 String 应用名 offset 否 Integer 偏移量,表示从此偏移量开始查询,offset大于等于0
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"
"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
您即将访问非华为云网站,请注意账号财产安全