视频直播 Live-查询播放画像信息接口:响应示例

时间:2025-01-26 10:40:15

响应示例

状态码: 200

处理成功返回。

{  "stream_portraits" : [ {    "time" : 20200812,    "flow" : 10,    "play_duration" : 10,    "request_count" : 10,    "user_count" : 10,    "peak_user_count" : 10,    "peak_bandwidth" : 10,    "push_duration" : 10  } ]}

状态码: 400

参数错误。

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