检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
DELETE https://{endpoint}/v1/{project_id}/domains_mapping?pull_domain=play.example.huawei.com&push_domain=publish.example.huawei.com 响应示例 状态码:400
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}/domain/pull-sources?play_domain=pull.example.test.com 响应示例 状态码:200 查询直播拉流回源配置成功 { "play_domain" : "pull.example.test.com"
/v1/{project_id}/domain/geo-blocking 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 play_domain 是 String 播放域名
CreateDomainRequest{} request.Body = &model.LiveDomainCreateReq{ Region: "cn-north-4", DomainType: model.GetLiveDomainCreateReqDomainTypeEnum()
https://{endpoint}/v1/{project_id}/domain/geo-blocking?play_domain=play.example.huawei.com 响应示例 状态码:200 查询地域限制配置列表成功 { "play_domain" : "play.example.huawei
id}/domain { "domain" : "play.example.com", "status" : "off" } 响应示例 状态码:200 直播域名修改成功 { "domain" : "play.example.com", "domain_type"
build(); UpdateDomainKeyChainRequest request = new UpdateDomainKeyChainRequest(); KeyChainInfo body = new KeyChainInfo(); body
如表1所示。 同一账号同一项目下的不同资源ID中的ProjectID均相同。 带宽和流量计费方式下对应的资源ID相同,所以无法通过资源ID识别这两种计费方式。 表1 直播账单中的资源ID和计费产品类型对应关系 计费产品 计费规格 资源ID 直播CDN流量 中国大陆直播CDN加速 {ProjectID}live
build(); ShowDomainKeyChainRequest request = new ShowDomainKeyChainRequest(); try { ShowDomainKeyChainResponse response
请求的唯一标识。 表5 响应Body参数 参数 参数类型 描述 stream_portraits Array of StreamPortrait objects 播放画像信息列表。 表6 StreamPortrait 参数 参数类型 描述 time String 统计日期,日期格式按照ISO
s/stream-detail?app=live&stream=pull_stream&publish_domain=livepush-test.huaweicloud.com 响应示例 状态码:200 处理成功返回。 { "publish_domain" : "livepull-test
build(); DeleteDomainHttpsCertRequest request = new DeleteDomainHttpsCertRequest(); try { DeleteDomainHttpsCertResponse response
DeleteDomainKeyChainRequest request = new DeleteDomainKeyChainRequest(); try { DeleteDomainKeyChainResponse response
UpdateDomainHttpsCertRequest request = new UpdateDomainHttpsCertRequest(); DomainHttpsCertInfo body = new DomainHttpsCertInfo();
参数类型 描述 publish_domain String 推流域名 app String 应用名 stream String 流名 data Array of UpStreamDetail objects 推流质量数据 表6 UpStreamDetail 参数 参数类型 描述 time
调用API查看禁推直播流信息 调用查询禁止直播推流列表接口,设置请求参数“domain”、“app_name”和“stream_name”即可查看禁推的直播流信息。 GET /v1/{project_id}/stream/blocks?domain=play.example.com&app_name=l
支持为推流域名配置回调地址,用于接收直播推流和断流通知,从而实时获取直播状态。 推流鉴权配置 提供了Key防盗链和IP黑白名单鉴权机制,对访问者的身份进行识别和过滤,符合规则的才可进行直播推流。 播流配置 修改直播延时 支持RTMP、HTTP-FLV协议播放的延时配置。 直播拉流回源 支持用户将
鉴权算法。 Referer防盗链:支持通过Referer白名单或黑名单对播放请求的Referer进行识别和过滤。 IP黑白名单:支持通过IP白名单或黑名单对播放请求者的IP进行识别和过滤。 华北-北京一、华北-北京四、亚太-新加坡区域已发布 如何配置Key防盗链? 如何配置Referer防盗链?
鉴权算法。 Referer防盗链:支持通过Referer白名单或黑名单对播放请求的Referer进行识别和过滤。 IP黑白名单:支持通过IP白名单或黑名单对播放请求者的IP进行识别和过滤。 华北-北京一、华北-北京四、亚太-新加坡区域已发布 如何配置Key防盗链? 如何配置Referer防盗链?