ChannelMediaRelayEvent enum Null safety

The event code in of channel media relay event.

Constants

Connected → const ChannelMediaRelayEvent

The user connects to the server.

@JsonValue(1)
const ChannelMediaRelayEvent(1)
Disconnect → const ChannelMediaRelayEvent

The user disconnects from the server due to poor network connections.

@JsonValue(0)
const ChannelMediaRelayEvent(0)
JoinedDestinationChannel → const ChannelMediaRelayEvent

The user joins the destination channel.

@JsonValue(3)
const ChannelMediaRelayEvent(3)
JoinedSourceChannel → const ChannelMediaRelayEvent

The user joins the source channel.

@JsonValue(2)
const ChannelMediaRelayEvent(2)
ReceivedAudioPacketFromSource → const ChannelMediaRelayEvent

The server receives the audio stream from the source channel.

@JsonValue(6)
const ChannelMediaRelayEvent(6)
ReceivedVideoPacketFromSource → const ChannelMediaRelayEvent

The server receives the video stream from the source channel.

@JsonValue(5)
const ChannelMediaRelayEvent(5)
SentToDestinationChannel → const ChannelMediaRelayEvent

The SDK starts relaying the media stream to the destination channel.

@JsonValue(4)
const ChannelMediaRelayEvent(4)
UpdateDestinationChannel → const ChannelMediaRelayEvent

The destination channel is updated.

@JsonValue(7)
const ChannelMediaRelayEvent(7)
UpdateDestinationChannelIsNil → const ChannelMediaRelayEvent

The destination channel name is NULL.

@JsonValue(10)
const ChannelMediaRelayEvent(10)
UpdateDestinationChannelNotChange → const ChannelMediaRelayEvent

The destination channel does not change, which means that the destination channel fails to be updated.

@JsonValue(9)
const ChannelMediaRelayEvent(9)
UpdateDestinationChannelRefused → const ChannelMediaRelayEvent

The destination channel update fails due to internal reasons.

@JsonValue(8)
const ChannelMediaRelayEvent(8)
values → const List<ChannelMediaRelayEvent>

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

const List<ChannelMediaRelayEvent>
VideoProfileUpdate → const ChannelMediaRelayEvent

The video profile is sent to the server.

@JsonValue(11)
const ChannelMediaRelayEvent(11)

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