检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
and CLOUD_SDK_SK in the local environment ak = os.environ["CLOUD_SDK_AK"] sk = os.environ["CLOUD_SDK_SK"] projectId = "{project_id}"
and CLOUD_SDK_SK in the local environment ak = os.environ["CLOUD_SDK_AK"] sk = os.environ["CLOUD_SDK_SK"] projectId = "{project_id}"
TokenInfo定义如下所示: appid:string类型。传入appid。 expTimestamp:string类型。过期时间戳,系统当前UNIX时间戳加上鉴权过期时间(推荐7200秒,最长需要小于43200秒,即12个小时)。 例如:当前UNIX时间戳为:1708531
is not supported. The API only supports the HTTPS protocol. 协议不支持,当前API仅支持https协议,不支持http协议 请使用https协议 400 LIVE.100011006 This API is not supported
is not supported. The API only supports the HTTPS protocol. 协议不支持,当前API仅支持https协议,不支持http协议 请使用https协议 400 LIVE.100011006 This API is not supported
and CLOUD_SDK_SK in the local environment ak = os.environ["CLOUD_SDK_AK"] sk = os.environ["CLOUD_SDK_SK"] projectId = "{project_id}"
and CLOUD_SDK_SK in the local environment ak = os.environ["CLOUD_SDK_AK"] sk = os.environ["CLOUD_SDK_SK"] projectId = "{project_id}"
error_msg String 错误描述 请求示例 修改域名IPV6开关,域名为example.com,IPV6开关为开启 PUT https://{endpoint}/v1/{project_id}/domain/ipv6-switch { "domain" : "example
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/{project_id}/stream/blocks?domain=publish.example.huawei
"app": "live", "stream_name": "test001", "snapshot_url": "https://xxx.obs.cn-north-4.myhuaweicloud.com:443...", "width": 720,
参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 DELETE https://{endpoint}/v1/{project_id}/guard/referer-chain?domain=play.example
app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 DELETE https://{endpoint}/v1/{project_id}/ott/channels?app_name=ott&domain=push.testott
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/guard/referer-chain?domain=play.example
服务从URL拉流直接推流到源站。 如果媒资输入类型为“HLS_PULL”时,用户提供的音视频URL需注意: 拉流URL仅支持HTTP、HTTPS协议,暂不支持其他协议。 不支持加密流。 不支持纯音频。 不支持展示字幕。 默认不展示“HLS_PULL”,需提交工单申请使用。 SRT
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/stream/bandwidth?domain=play.example.huawei
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/stream/traffic?domain=play.example.huawei
推流域名 app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 PUT https://{endpoint}/v1/{project_id}/ott/channels/record-settings { "domain"
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/realtime/streams?publish_domain=push.example
响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 GET https://{endpoint}/v1/{project_id}/stream/users?domain=play.example.huawei
推流域名 app_name String 组名或应用名,为必填项 id String 频道ID。频道唯一标识,为必填项 请求示例 PUT https://{endpoint}/v1/{project_id}/ott/channels/general { "domain" : "push