检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
app=live&stream=pull_stream&domain=livepush-test.huaweicloud.com 响应示例 状态码: 200 处理成功返回。 { "framerate_info_list" : [ { "publish_domain" : "livepush-test
/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
项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 domain 是 String 域名 app_name 否 String 应用名称,不指定则查询domain下所有应用的禁止直播推流信息 stream_name 否 String 流名称 page
调用API查看禁推直播流信息 调用查询禁止直播推流列表接口,设置请求参数“domain”、“app_name”和“stream_name”即可查看禁推的直播流信息。 GET /v1/{project_id}/stream/blocks?domain=play.example.com&app_name=l
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"record_prefix" : "record-publish_domain-app-stream-file_start_time_unix/record-publish_domain-app-stream-file_start_time_unix",
https://{endpoint}/v1/{project_id}/guard/ip?domain=play.example.huawei.com 响应示例 状态码: 200 查询IP黑/白名单成功 { "domain" : "play.example.huawei.com", "auth_type"
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":
up-bandwidth/detail 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 publish_domains 是 Array of strings
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
调用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