ChannelMediaRelayEvent

The event code of channel media relay.

Deprecated
This class is deprecated.

Enumerator

RelayEventNetworkDisconnected
0: The user disconnects from the server due to a poor network connection.
RelayEventNetworkConnected
1: The user is connected to the server.
RelayEventPacketJoinedSrcChannel
2: The user joins the source channel.
RelayEventPacketJoinedDestChannel
3: The user joins the target channel.
RelayEventPacketSentToDestChannel
4: The SDK starts relaying the media stream to the target channel.
RelayEventPacketReceivedVideoFromSrc
5: The server receives the audio stream from the source channel.
RelayEventPacketReceivedAudioFromSrc
6: The server receives the audio stream from the source channel.
RelayEventPacketUpdateDestChannel
7: The target channel is updated.
RelayEventPacketUpdateDestChannelNotChange
9: The target channel does not change, which means that the target channel fails to be updated.
RelayEventPacketUpdateDestChannelIsNull
10: The target channel name is null.
RelayEventVideoProfileUpdate
11: The video profile is sent to the server.
RelayEventPauseSendPacketToDestChannelSuccess
12: The SDK successfully pauses relaying the media stream to target channels.
RelayEventPauseSendPacketToDestChannelFailed
13: The SDK fails to pause relaying the media stream to target channels.
RelayEventResumeSendPacketToDestChannelSuccess
14: The SDK successfully resumes relaying the media stream to target channels.
RelayEventResumeSendPacketToDestChannelFailed
15: The SDK fails to resume relaying the media stream to target channels.