ChannelMediaRelayError enum Null safety

The error code in of channel media relay.

Constants

DestinationTokenExpired → const ChannelMediaRelayError

The token of the destination channel has expired.

@JsonValue(11)
const ChannelMediaRelayError(11)
FailedJoinDestinationChannel → const ChannelMediaRelayError

Fails to accept the relay request.

@JsonValue(5)
const ChannelMediaRelayError(5)
FailedJoinSourceChannel → const ChannelMediaRelayError

Fails to send the relay request.

@JsonValue(4)
const ChannelMediaRelayError(4)
FailedPacketReceivedFromSource → const ChannelMediaRelayError

The server fails to receive the media stream.

@JsonValue(6)
const ChannelMediaRelayError(6)
FailedPacketSentToDestination → const ChannelMediaRelayError

The server fails to send the media stream.

@JsonValue(7)
const ChannelMediaRelayError(7)
InternalError → const ChannelMediaRelayError

An internal error occurs in the server.

@JsonValue(9)
const ChannelMediaRelayError(9)
None → const ChannelMediaRelayError

The state is normal.

@JsonValue(0)
const ChannelMediaRelayError(0)
NoResourceAvailable → const ChannelMediaRelayError

The SDK fails to access the service, probably due to limited resources of the server.

@JsonValue(3)
const ChannelMediaRelayError(3)
ServerConnectionLost → const ChannelMediaRelayError

The SDK disconnects from the server due to poor network connections. You can call the RtcEngine.leaveChannel method to leave the channel.

@JsonValue(8)
const ChannelMediaRelayError(8)
ServerErrorResponse → const ChannelMediaRelayError

An error occurs in the server response.

@JsonValue(1)
const ChannelMediaRelayError(1)
ServerNoResponse → const ChannelMediaRelayError

No server response. You can call the RtcEngine.leaveChannel method to leave the channel.

@JsonValue(2)
const ChannelMediaRelayError(2)
SourceTokenExpired → const ChannelMediaRelayError

The token of the source channel has expired.

@JsonValue(10)
const ChannelMediaRelayError(10)
values → const List<ChannelMediaRelayError>

A constant List of the values in this enum, in order of their declaration.

const List<ChannelMediaRelayError>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
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. [...]
override

Operators

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