Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ChannelMediaRelayEvent

The event code in CHANNEL_MEDIA_RELAY_EVENT.

Index

Enumeration members

RELAY_EVENT_NETWORK_CONNECTED

RELAY_EVENT_NETWORK_CONNECTED: = 1

1: The network reconnects.

RELAY_EVENT_NETWORK_DISCONNECTED

RELAY_EVENT_NETWORK_DISCONNECTED: = 0

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

RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL

RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL: = 3

3: The user joins the destination channel.

RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL

RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL: = 2

2: The user joins the source channel.

RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC

RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC: = 6

6: The server receives the audio stream from the source channel.

RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC

RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC: = 5

5: The server receives the video stream from the source channel.

RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL

RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL: = 4

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

RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL

RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL: = 7

7: The destination channel is updated.

RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL

RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL: = 10

10: The destination channel name is NULL.

RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE

RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE: = 9

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

RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_REFUSED

RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_REFUSED: = 8

8: The destination channel update fails due to internal reasons.

RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED

RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED: = 13

13: The SDK fails to pause relaying the media stream to destination channels.

since

v3.6.1.4

RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS

RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS: = 12

12: The SDK successfully pauses relaying the media stream to destination channels.

since

v3.6.1.4

RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED

RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED: = 15

15: The SDK fails to resume relaying the media stream to destination channels.

since

v3.6.1.4

RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS

RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS: = 14

14: The SDK successfully resumes relaying the media stream to destination channels.

since

v3.6.1.4

RELAY_EVENT_VIDEO_PROFILE_UPDATE

RELAY_EVENT_VIDEO_PROFILE_UPDATE: = 11

11: The video profile is sent to the server.