public class AbnormalEvent extends Object
| Constructor and Description |
|---|
AbnormalEvent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getAbnormalFactor()
异常因素 当异常类型为1时,异常因素取值范围为: - 1:建链失败 - 2:房间非空闲 - 3:服务器异常 - 4:服务器反馈503 - 5:鉴权失败 - 6:鉴权重试 - 7:时钟同步失败 - 8:url错误 -
9:终端内部异常 - 90000004:SDK发出的加入房间信令响应超时 - 90100009:web侧没有收到MSP下发的配置信息 - 90100008:websocket链路建链失败 -
10000001:服务侧返回的异常信息 - 31000003:服务侧返回的异常信息 - 32000030:服务侧返回的异常信息 - 15:浏览器设置sdp异常 当异常类型为2或者3时,异常因素取值范围为: -
1:系统CPU占用高 - 2:App CPU占用高 - 3:音频上行网络延时 - 4:音频上行网络抖动 - 5:视频上行网络延时 - 6:视频上行网络抖动 - 7:音频下行网络延时 - 8:音频下行网络抖动 -
9:视频下行网络延时 - 10:视频下行网络抖动 - 11:上行音频丢包 - 12:上行视频丢包 - 13:下行音频丢包 - 14:下行视频丢包 - 15:下行音频无声音 - 16:其他 - 17:对端用户离线 -
18:对端用户无码流 - 19:对端用户无帧率 - 20:本端服务器下行无码流 - 21:本端服务器下行无帧率 minimum: 0 maximum: 15
|
String |
getAbnormalFactorDesc()
异常因素描述,支持国际化 当异常类型为1时,异常因素描述与异常因素对应,取值范围为: - 建链失败 - 房间非空闲 - 服务器异常 - 服务器反馈503 - 鉴权失败 - 鉴权重试 - 时钟同步失败 - url错误 -
终端内部异常 - SDK发出的加入房间信令响应超时 - web侧没有收到MSP下发的配置信息 - websocket链路建链失败 - 服务侧返回的异常信息 - 服务侧返回的异常信息 - 服务侧返回的异常信息 -
浏览器设置sdp异常 当异常类型为2或者3时,异常因素描述与异常因素对应,取值范围为: - 系统CPU占用高 - App CPU占用高 - 音频上行网络延时 - 音频上行网络抖动 - 视频上行网络延时 - 视频上行网络抖动 -
音频下行网络延时 - 音频下行网络抖动 - 视频下行网络延时 - 视频下行网络抖动 - 上行音频丢包 - 上行视频丢包 - 下行音频丢包 - 下行视频丢包 - 下行音频无声音 - 其他 - 对端用户离线 - 对端用户无码流 -
对端用户无帧率 - 本端服务器下行无码流 - 本端服务器下行无帧率 其他情况,异常因素描述为:其他
|
Integer |
getAbnormalType()
异常类型: - 1:进房慢(5s加入房间失败) - 2:视频卡顿 - 3:音频卡顿 minimum: 0 maximum: 15
|
String |
getAbnormalTypeDesc()
异常类型描述与异常类型对应,支持国际化,取值范围为: - 进房慢(5s加入房间失败) - 视频卡顿 - 音频卡顿
|
String |
getLocation()
事件发生位置 - local:事件发生在客户端本地 - remote:事件发生在远端
|
String |
getPeerUid()
如果根因来自远端用户,则peerid为远端用户的用户ID。如果根因来自自身,则peerid为空字符串
|
String |
getRoomId()
出现异常的房间ID
|
String |
getStage()
出现异常的环节 - join_room:加入房间 - communication:通话中
|
String |
getTime()
采样时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为YYYY-MM-DDThh:mm:ssZ
|
String |
getUid()
出现异常的用户ID
|
int |
hashCode() |
void |
setAbnormalFactor(Integer abnormalFactor) |
void |
setAbnormalFactorDesc(String abnormalFactorDesc) |
void |
setAbnormalType(Integer abnormalType) |
void |
setAbnormalTypeDesc(String abnormalTypeDesc) |
void |
setLocation(String location) |
void |
setPeerUid(String peerUid) |
void |
setRoomId(String roomId) |
void |
setStage(String stage) |
void |
setTime(String time) |
void |
setUid(String uid) |
String |
toString() |
AbnormalEvent |
withAbnormalFactor(Integer abnormalFactor) |
AbnormalEvent |
withAbnormalFactorDesc(String abnormalFactorDesc) |
AbnormalEvent |
withAbnormalType(Integer abnormalType) |
AbnormalEvent |
withAbnormalTypeDesc(String abnormalTypeDesc) |
AbnormalEvent |
withLocation(String location) |
AbnormalEvent |
withPeerUid(String peerUid) |
AbnormalEvent |
withRoomId(String roomId) |
AbnormalEvent |
withStage(String stage) |
AbnormalEvent |
withTime(String time) |
AbnormalEvent |
withUid(String uid) |
public AbnormalEvent withTime(String time)
public String getTime()
public void setTime(String time)
public AbnormalEvent withUid(String uid)
public String getUid()
public void setUid(String uid)
public AbnormalEvent withRoomId(String roomId)
public String getRoomId()
public void setRoomId(String roomId)
public AbnormalEvent withStage(String stage)
public String getStage()
public void setStage(String stage)
public AbnormalEvent withLocation(String location)
public String getLocation()
public void setLocation(String location)
public AbnormalEvent withPeerUid(String peerUid)
public String getPeerUid()
public void setPeerUid(String peerUid)
public AbnormalEvent withAbnormalType(Integer abnormalType)
public Integer getAbnormalType()
public void setAbnormalType(Integer abnormalType)
public AbnormalEvent withAbnormalTypeDesc(String abnormalTypeDesc)
public String getAbnormalTypeDesc()
public void setAbnormalTypeDesc(String abnormalTypeDesc)
public AbnormalEvent withAbnormalFactor(Integer abnormalFactor)
public Integer getAbnormalFactor()
public void setAbnormalFactor(Integer abnormalFactor)
public AbnormalEvent withAbnormalFactorDesc(String abnormalFactorDesc)
public String getAbnormalFactorDesc()
public void setAbnormalFactorDesc(String abnormalFactorDesc)
Copyright © 2022. All rights reserved.