检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
HWLLS_ERROR_SERVER_CONNECT_FAIL 50000002 无法连接服务端。 检查网络状态是否正常或联系技术支持。 HWLLS_ERROR_SERVER_NO_RESPONSE 50000003 服务器无响应。 联系技术支持。 HWLLS_ERROR_AUTH_FAIL 50000004 鉴权失败。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
/streams?domain=livepull-test.huaweicloud.com&limit=10&offset=1 响应示例 状态码:200 处理成功返回。 { "history_stream_list" : [ { "domain" : "livepull-test
调用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
"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
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
备入流数组,非必填项。如果有备入流,则主备入流必须保证路数、codec和分辨率均一致。入流协议为RTMP_PUSH时,无需填写。 failover_conditions 否 FailoverConditions object 非必填,频道供应商提供的主备音视频流URL切换的配置。 max_bandwidth_limit
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
project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 publish_domain 是 String 推流域名 app 否 String 应用名 offset 否 Integer 偏移量,表示从此偏移量开始查询,offset大于等于0