实时音视频 SparkRTC-查询用户异常体验事件:响应示例

时间:2025-01-26 10:37:29

响应示例

状态码: 200

查询成功返回。

{  "total" : 2,  "events" : [ {    "time" : "2021-08-25T17:45:00Z",    "uid" : "3d00ea7405cc11eca3b919d9aaa81457",    "room_id" : "3b48d9db05cc11ecb1e78fe304a40b8f",    "stage" : "communication",    "location" : "remote",    "peer_uid" : "3cc0863505cc11eca3b9cb30b1856de8",    "abnormal_type" : 3,    "abnormal_type_desc" : "音频卡顿",    "abnormal_factor" : 13,    "abnormal_factor_desc" : "下行音频丢包"  }, {    "time" : "2021-08-25T17:45:00Z",    "uid" : "3d00ea7405cc11eca3b919d9aaa81457",    "room_id" : "3b48d9db05cc11ecb1e78fe304a40b8f",    "stage" : "communication",    "location" : "remote",    "peer_uid" : "3cc0863505cc11eca3b9cb30b1856de8",    "abnormal_type" : 2,    "abnormal_type_desc" : "视频卡顿",    "abnormal_factor" : 14,    "abnormal_factor_desc" : "下行视频丢包"  } ]}

状态码: 400

查询失败返回

{  "error_code" : "DATA.100011001",  "error_msg" : "Required String parameter 'app' is not present"}
support.huaweicloud.com/api-rtc/ListRtcAbnormalEvents.html