视频直播 LIVE-查询历史推流列表接口:响应示例

时间:2024-12-24 16:35:59

响应示例

状态码: 200

处理成功返回。

{
  "history_stream_list" : [ {
    "domain" : "livepull-test.huaweicloud.com",
    "app" : "live",
    "stream" : "pull",
    "type" : 0,
    "video_codec" : "H264",
    "audio_codec" : "AAC",
    "client_ip" : "127.0.0.1",
    "start_time" : "2020-06-04T07:00:00Z",
    "end_time" : "2020-06-05T07:00:00Z"
  } ],
  "total" : 100
}

状态码: 400

参数错误。

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