ChannelMediaRelayEvent enum
The event code of channel media relay.
Constructors
- ChannelMediaRelayEvent()
-
const
Values
- Disconnect → const ChannelMediaRelayEvent
-
0: The user disconnects from the server due to a poor network connection.
- Connected → const ChannelMediaRelayEvent
-
1: The user is connected to the server.
- JoinedSourceChannel → const ChannelMediaRelayEvent
-
2: The user joins the source channel.
- JoinedDestinationChannel → const ChannelMediaRelayEvent
-
3: The user joins the destination channel.
- SentToDestinationChannel → const ChannelMediaRelayEvent
-
4: The SDK starts relaying the media stream to the destination channel.
- ReceivedVideoPacketFromSource → const ChannelMediaRelayEvent
-
5: The server receives the audio stream from the source channel.
- ReceivedAudioPacketFromSource → const ChannelMediaRelayEvent
-
6: The server receives the audio stream from the source channel.
- UpdateDestinationChannel → const ChannelMediaRelayEvent
-
7: The destination channel is updated.
- UpdateDestinationChannelRefused → const ChannelMediaRelayEvent
-
8: The destination channel update fails due to internal reasons.
- UpdateDestinationChannelNotChange → const ChannelMediaRelayEvent
-
9: The destination channel does not change, which means that the destination channel fails to be updated.
- UpdateDestinationChannelIsNil → const ChannelMediaRelayEvent
-
10: The destination channel name is null.
- VideoProfileUpdate → const ChannelMediaRelayEvent
-
11: The video profile is sent to the server.
- PauseSendPacketToDestChannelSuccess → const ChannelMediaRelayEvent
-
12: The SDK successfully pauses relaying the media stream to destination channels.
- PauseSendPacketToDestChannelFailed → const ChannelMediaRelayEvent
-
13: The SDK fails to pause relaying the media stream to destination channels.
- ResumeSendPacketToDestChannelSuccess → const ChannelMediaRelayEvent
-
14: The SDK successfully resumes relaying the media stream to destination channels.
- ResumeSendPacketToDestChannelFailed → const ChannelMediaRelayEvent
-
15: The SDK fails to resume relaying the media stream to destination channels.
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<
ChannelMediaRelayEvent> - A constant List of the values in this enum, in order of their declaration.