NERtcErrorCode class

错误码定义

Constructors

NERtcErrorCode()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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失败
30202
connectFail → const int
连接失败
30015
connectionNotFound → const int
连接未找到
30200
createDeviceSourceFail → const int
创建设备失败
30011
createDumpFileFail → const int
创建dump 失败
30016
deviceNotFound → const int
设备未找到
30008
devicePreviewAlreadyStarted → const int
预览已打开
30013
errorFatal → const int
内部错误
30001
illegalArgument → const int
参数错误
-400
illegalStatus → const int
状态错误
-500
invalidDeviceSourceId → const int
设备ID非法
30009
invalidIndex → const int
序号非法
30007
invalidOperation → const int
操作不支持
-700
invalidParam → const int
参数错误
30003
invalidRender → const int
画布非法
30012
invalidState → const int
状态错误
30005
invalidUserId → const int
非法用户
30106
invalidVideoProfile → const int
视频能力非法
30010
lackOfResource → const int
缺乏资源
30006
mediaConnectionDisconnected → const int
媒体连接已断开
30204
mediaNotStarted → const int
媒体会话未建立
30107
notSupported → const int
不支持
30004
ok → const int
成功
0
outOfMemory → const int
内存溢出
30002
requestJoinRoomFail → const int
请求加入房间失败
30103
reserveInvalidParameter → const int
参数错误
414
reserveMoreThanTwoUser → const int
只支持两个用户, 有第三个人试图使用相同的频道名分配频道
600
reserveNoPermission → const int
没有权限,包括没有开通音视频功能、没有开通非安全但是请求了非安全等
403
reserveServerFail → const int
分配频道服务器出错
500
reserveTimeout → const int
请求超时
408
roomAlreadyJoined → const int
房间已加入
30100
roomClosed → const int
房间被关闭
30207
roomNotJoined → const int
房间未加入
30101
roomRepeatedlyLeave → const int
重复离开房间
30102
serverKicked → const int
被管理员踢出房间
30206
sessionNotFound → const int
会话未找到
30104
signalDisconnected → const int
信令断开
30205
sourceNotFound → const int
媒体源未找到
30108
startDumpFail → const int
开始dump失败
30017
streamNotFound → const int
媒体流未找到
30201
trackNotFound → const int
track未找到
30203
transmitPending → const int
挂起
30014
uninitialized → const int
未初始化
-501
userNotFound → const int
用户未找到
30105