ChannelMediaRelayError enum

The error code of the channel media relay.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

ChannelMediaRelayError()
const

Values

relayOk → const ChannelMediaRelayError

0: No error.

relayErrorServerErrorResponse → const ChannelMediaRelayError

1: An error occurs in the server response.

relayErrorServerNoResponse → 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 service for cohosting across channels before starting a channel media relay.

relayErrorNoResourceAvailable → const ChannelMediaRelayError

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

relayErrorFailedJoinSrc → const ChannelMediaRelayError

4: Fails to send the relay request.

relayErrorFailedJoinDest → const ChannelMediaRelayError

5: Fails to accept the relay request.

relayErrorFailedPacketReceivedFromSrc → const ChannelMediaRelayError

6: The server fails to receive the media stream.

relayErrorFailedPacketSentToDest → const ChannelMediaRelayError

7: The server fails to send the media stream.

relayErrorServerConnectionLost → const ChannelMediaRelayError

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

relayErrorInternalError → const ChannelMediaRelayError

9: An internal error occurs in the server.

relayErrorSrcTokenExpired → const ChannelMediaRelayError

10: The token of the source channel has expired.

relayErrorDestTokenExpired → const ChannelMediaRelayError

11: 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.