NERtcErrorCode class Null safety

Error codes

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
Failed to add tracks
30202
channelMediaRelayInvalidState → const int
The typical reason is repeated calling startChannelMediaRelay. If you want to call the startChannelMediaRelay method for another time, you must first call the stopChannelMediaRelay method to exit the current relaying status.
30110
channelMediaRelayPermissionDenied → const int
No permissions to relay media streams
30111
channelMediaRelayStopFailed → const int
Failed to stop relaying media streams. The typical reason is that media stream relay is disabled. Before you call stopChannelMediaRelay, make sure that you have enabled media stream relay by calling startChannelMediaRelay.
30112
connectFail → const int
Connection failed
30015
connectionNotFound → const int
Connection not found
30200
createDeviceSourceFail → const int
Failed to create device source
30011
createDumpFileFail → const int
Failed to create a dump
30016
deviceNotFound → const int
Device not found
30008
devicePreviewAlreadyStarted → const int
Preview already started
30013
encryptNotSuitable → const int
Failed to join the room because the specified media stream encryption key is inconsistent with the key specified by one or more of the members who joins the room. Reset the encryption key by calling enableEncryption.
30113
errorFatal → const int
Internal error.
30001
illegalArgument → const int
Invalid parameter
-400
illegalStatus → const int
Status error
-500
invalidDeviceSourceId → const int
Invalid device ID
30009
invalidIndex → const int
Invalid index
30007
invalidOperation → const int
Invalid operation
-700
invalidParam → const int
Invalid parameter
30003
invalidRender → const int
Invalid renderer
30012
invalidState → const int
Status error
30005
invalidUserId → const int
Invalid user ID
30106
invalidVideoProfile → const int
invalid video profile
30010
lackOfResource → const int
Out of resources
30006
leaveChannelForSwitch → const int
Switched to another room.
30208
mediaConnectionDisconnected → const int
Media disconnected
30204
mediaNotStarted → const int
Media session not started
30107
notSupported → const int
Unsupported
30004
ok → const int
Success
0
outOfMemory → const int
Out of memory
30002
requestJoinRoomFail → const int
Failed to request joining a room
30103
reserveInvalidParameter → const int
Invalid parameter
414
reserveMoreThanTwoUser → const int
Only two users are supported. A third user tries to allocate a room with the same channel name.*
600
reserveNoPermission → const int
No permissions, including audio and video features not activated or the debugging mode is disabled.
403
reserveServerFail → const int
Server error in allocating channels
500
reserveTimeout → const int
Request timeout
408
roomAlreadyJoined → const int
Already joined the room
30100
roomClosed → const int
A room is closed
30207
roomNotJoined → const int
Have not joined the room
30101
roomRepeatedlyLeave → const int
Repeatedly leave a room
30102
serverKicked → const int
Removed by the administrator
30206
sessionNotFound → const int
Session not found
30104
signalDisconnected → const int
Signal disconnected
30205
sourceNotFound → const int
Media source not found
30108
startDumpFail → const int
Failed to start a dump
30017
streamNotFound → const int
Media stream not found
30201
switchChannelInvalidState → const int
Invalid channel state when switching to a channel
30109
trackNotFound → const int
Track not found
30203
transmitPending → const int
Suspended
30014
uninitialized → const int
uninitialized
-501
userNotFound → const int
User not found
30105