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.