ChannelMediaRelayError enum

The error code in of channel media relay.

Inheritance

Constructors

ChannelMediaRelayError()
const

Values

None → const ChannelMediaRelayError

The state is normal.

ServerErrorResponse → const ChannelMediaRelayError

An error occurs in the server response.

ServerNoResponse → const ChannelMediaRelayError

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

NoResourceAvailable → const ChannelMediaRelayError

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

FailedJoinSourceChannel → const ChannelMediaRelayError

Fails to send the relay request.

FailedJoinDestinationChannel → const ChannelMediaRelayError

Fails to accept the relay request.

FailedPacketReceivedFromSource → const ChannelMediaRelayError

The server fails to receive the media stream.

FailedPacketSentToDestination → const ChannelMediaRelayError

The server fails to send the media stream.

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.

InternalError → const ChannelMediaRelayError

An internal error occurs in the server.

SourceTokenExpired → const ChannelMediaRelayError

The token of the source channel has expired.

DestinationTokenExpired → const ChannelMediaRelayError

The token of the destination channel has expired.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

values → const List<ChannelMediaRelayError>
A constant List of the values in this enum, in order of their declaration.