NERtcErrorCode class

错误码定义

Constructors

NERtcErrorCode()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

addTrackFail → const int
添加track失败
channelMediaRelayInvalidState → const int
原因通常为重复调用 startChannelMediaRelay。成功调用startChannelMediaRelay后,必须先调用 stopChannelMediaRelay 方法退出当前的转发状态,才能再次调用该方法
channelMediaRelayPermissionDenied → const int
媒体流转发权限不足
channelMediaRelayStopFailed → const int
停止媒体流转发操作失败 原因通常为未开启媒体流转发。请确认调用 stopChannelMediaRelay 前,是否已成功调用 startChannelMediaRelay 开启媒体流转发。
connectFail → const int
连接失败
connectionNotFound → const int
连接未找到
createDeviceSourceFail → const int
创建设备失败
createDumpFileFail → const int
创建dump 失败
deviceNotFound → const int
设备未找到
devicePreviewAlreadyStarted → const int
预览已打开
encryptNotSuitable → const int
设置的媒体流加密密钥与房间中其他成员不一致,加入房间失败。 请通过 enableEncryption 重新设置加密密钥。
errorFatal → const int
内部错误
illegalArgument → const int
参数错误
illegalStatus → const int
状态错误
invalidDeviceSourceId → const int
设备ID非法
invalidIndex → const int
序号非法
invalidOperation → const int
操作不支持
invalidParam → const int
参数错误
invalidRender → const int
画布非法
invalidState → const int
状态错误
invalidUserId → const int
非法用户
invalidVideoProfile → const int
视频能力非法
lackOfResource → const int
缺乏资源
leaveChannelForSwitch → const int
因为切换频道而离开房间
mediaConnectionDisconnected → const int
媒体连接已断开
mediaNotStarted → const int
媒体会话未建立
notSupported → const int
不支持
ok → const int
成功
outOfMemory → const int
内存溢出
requestJoinRoomFail → const int
请求加入房间失败
reserveInvalidParameter → const int
参数错误
reserveMoreThanTwoUser → const int
只支持两个用户, 有第三个人试图使用相同的频道名分配频道
reserveNoPermission → const int
没有权限,包括没有开通音视频功能、没有开通非安全但是请求了非安全等
reserveServerFail → const int
分配频道服务器出错
reserveTimeout → const int
请求超时
roomAlreadyJoined → const int
房间已加入
roomClosed → const int
房间被关闭
roomNotJoined → const int
房间未加入
roomRepeatedlyLeave → const int
重复离开房间
serverKicked → const int
被管理员踢出房间
sessionNotFound → const int
会话未找到
signalDisconnected → const int
信令断开
sourceNotFound → const int
媒体源未找到
startDumpFail → const int
开始dump失败
streamNotFound → const int
媒体流未找到
switchChannelInvalidState → const int
切换房间状态无效
trackNotFound → const int
track未找到
transmitPending → const int
挂起
uninitialized → const int
未初始化
userNotFound → const int
用户未找到