视频直播 LIVE-查询转码用量接口:响应示例

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

响应示例

状态码: 200

处理成功返回。

{
  "transcode_data_list" : [ {
    "time" : "2020-08-18T07:00:00Z",
    "spec_list" : [ {
      "type" : "H265_PVC_SD",
      "value" : 256.23
    }, {
      "type" : "H265_PVC_HD",
      "value" : 128.41
    } ]
  }, {
    "time" : "2020-08-18T08:00:00Z",
    "spec_list" : [ {
      "type" : "H265_PVC_SD",
      "value" : 52.35
    }, {
      "type" : "H265_PVC_HD",
      "value" : 136.32
    } ]
  } ],
  "summary_list" : [ {
    "type" : "H265_PVC_SD",
    "value" : 308.58
  }, {
    "type" : "H265_PVC_HD",
    "value" : 264.73
  } ]
}

状态码: 400

参数错误。

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