检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
request = new DeleteDomainRequest(); try { DeleteDomainResponse response = client.deleteDomain(request); System.out.println
domain=play.example.huawei.com 响应示例 状态码: 400 参数校验不通过。如:传入domain为空、证书校验不通过。
request = new DeleteDomainKeyChainRequest(); try { DeleteDomainKeyChainResponse response = client.deleteDomainKeyChain(request
{ "keychain" : [ "http://pull.domain.com/live/stream.flv?
GET https://{endpoint}/v1/{project_id}/domain/delay?
= &model.LiveDomainModifyReq{ Status: &statusLiveDomainModifyReq, Domain: "play.example.com", } response, err := client.UpdateDomain(request
request = new UpdateDomainKeyChainRequest(); KeyChainInfo body = new KeyChainInfo(); body.withTimeout(3600); body.withAuthType
PUT https://{endpoint}/v1/{project_id}/domain/pull-sources { "play_domain" : "pull.example.test.com", "source_type" : "domain", "sources
PUT https://{endpoint}/v1/{project_id}/domain/delay { "play_domain" : "pull.example.test.com", "app" : "live", "delay" : 2000 } 响应示例 状态码
play_domain=pull.example.test.com 响应示例 状态码: 200 查询直播拉流回源配置成功 { "play_domain" : "pull.example.test.com", "source_type" : "domain", "sources
URI PUT /v1/{project_id}/domain/geo-blocking 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,获取方法请参考获取项目ID。
表5 响应Body参数 参数 参数类型 描述 stream_portraits Array of StreamPortrait objects 播放画像信息列表。
响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 push_domain String 推流域名 application Array of PushDomainApplication objects 推流域名APP配置 表5 PushDomainApplication
Build()) request := &model.CreateDomainRequest{} request.Body = &model.LiveDomainCreateReq{ Region: "cn-north-4", DomainType: model.GetLiveDomainCreateReqDomainTypeEnum
play_domain=play.example.huawei.com 响应示例 状态码: 200 查询地域限制配置列表成功 { "play_domain" : "play.example.huawei.com", "apps" : [ { "app" : "live
request = new DeleteDomainMappingRequest(); try { DeleteDomainMappingResponse response = client.deleteDomainMapping(request
request = new SetRefererChainRequest(); SetRefererChainInfo body = new SetRefererChainInfo(); List<String> listbodyRefererAuthList
request = new ListSingleStreamDetailRequest(); try { ListSingleStreamDetailResponse response = client.listSingleStreamDetail
表5 响应Body参数 参数 参数类型 描述 publish_domain String 推流域名 app String 应用名 stream String 流名 data Array of UpStreamDetail objects 推流质量数据 表6 UpStreamDetail
domain=play.example.com&app_name=live&stream_name=live 父主题: 直播推流