视频直播 LIVE-查询播放域名下的流数据:响应示例

时间:2024-07-19 14:22:27

响应示例

状态码: 200

处理成功返回。

{
  "time" : "2024-06-06T08:00:00Z",
  "data_list" : [ {
    "play_domain" : "play.example.com",
    "stream" : "test_stream_01",
    "bandwidth" : 1245,
    "online" : 123,
    "protocol" : "hls"
  }, {
    "play_domain" : "play.example.com",
    "stream" : "test_stream_02",
    "bandwidth" : 1025,
    "online" : 60,
    "protocol" : "hls"
  }, {
    "play_domain" : "play.example01.com",
    "stream" : "test_stream_03",
    "bandwidth" : 3242,
    "online" : 546,
    "protocol" : "flv"
  } ]
}

状态码: 400

处理失败返回。

{
  "error_code" : "LIVE.100011001",
  "error_msg" : "Invalid request parameter: domains"
}
support.huaweicloud.com/api-live/ListPlayDomainStreamInfo.html