ChannelMediaRelayError enum

Error codes for media stream relay across channels.

Inheritance
Available extensions
Annotations
  • @JsonEnum.new(alwaysCreate: true)

Values

relayOk → const ChannelMediaRelayError

0: Everything works fine.

relayErrorServerErrorResponse → const ChannelMediaRelayError

1: Server error response.

relayErrorServerNoResponse → const ChannelMediaRelayError

2: No response from the server. This error may be caused by poor network conditions. If this error is reported when initiating cross-channel media relay, you can try again later; if reported during the relay process, you can call the leaveChannel method to leave the channel. This error may also occur if the current App ID has not enabled cross-channel media relay. You can contact technical support to apply for enabling it.

relayErrorNoResourceAvailable → const ChannelMediaRelayError

3: SDK failed to get the service, possibly due to limited server resources.

relayErrorFailedJoinSrc → const ChannelMediaRelayError

4: Failed to initiate media stream relay across channels.

relayErrorFailedJoinDest → const ChannelMediaRelayError

5: Failed to accept media stream relay across channels.

relayErrorFailedPacketReceivedFromSrc → const ChannelMediaRelayError

6: Server failed to receive media stream relay across channels.

relayErrorFailedPacketSentToDest → const ChannelMediaRelayError

7: Server failed to send media stream relay across channels.

relayErrorServerConnectionLost → const ChannelMediaRelayError

8: SDK disconnected from the server due to poor network quality. You can call the leaveChannel method to leave the current channel.

relayErrorInternalError → const ChannelMediaRelayError

9: Internal server error.

relayErrorSrcTokenExpired → const ChannelMediaRelayError

10: Token of the source channel has expired.

relayErrorDestTokenExpired → const ChannelMediaRelayError

11: 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
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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.