ChannelMediaRelayError enum
The error code of the channel media replay.
Constructors
- ChannelMediaRelayError()
-
const
Values
- None → const ChannelMediaRelayError
-
0: No error.
- ServerErrorResponse → const ChannelMediaRelayError
-
1: An error occurs in the server response.
- ServerNoResponse → const ChannelMediaRelayError
-
2: No server response. You can call leaveChannel to leave the channel. This error can also occur if your project has not enabled co-host token authentication. You can to enable the co-host token authentication service before starting a channel media relay.
- NoResourceAvailable → const ChannelMediaRelayError
-
3: The SDK fails to access the service, probably due to limited resources of the server.
- FailedJoinSourceChannel → const ChannelMediaRelayError
-
4: Fails to send the relay request.
- FailedJoinDestinationChannel → const ChannelMediaRelayError
-
5: Fails to accept the relay request.
- FailedPacketReceivedFromSource → const ChannelMediaRelayError
-
6: The server fails to receive the media stream.
- FailedPacketSentToDestination → const ChannelMediaRelayError
-
7: The server fails to send the media stream.
- ServerConnectionLost → const ChannelMediaRelayError
-
8: The SDK disconnects from the server due to poor network connections. You can call the leaveChannel method to leave the channel.
- InternalError → const ChannelMediaRelayError
-
9: An internal error occurs in the server.
- SourceTokenExpired → const ChannelMediaRelayError
-
10: The token of the source channel has expired.
- DestinationTokenExpired → const ChannelMediaRelayError
-
11: The token of the destination channel has expired.
Properties
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.