AgoraChannelMediaRelayEvent Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraChannelMediaRelayEvent
The event code in AgoraChannelMediaRelayEvent.
Definition
typedef NS_ENUM(NSInteger, AgoraChannelMediaRelayEvent ) {
AgoraChannelMediaRelayEventDisconnect = 0,
AgoraChannelMediaRelayEventConnected = 1,
AgoraChannelMediaRelayEventJoinedSourceChannel = 2,
AgoraChannelMediaRelayEventJoinedDestinationChannel = 3,
AgoraChannelMediaRelayEventSentToDestinationChannel = 4,
AgoraChannelMediaRelayEventReceivedVideoPacketFromSource = 5,
AgoraChannelMediaRelayEventReceivedAudioPacketFromSource = 6,
AgoraChannelMediaRelayEventUpdateDestinationChannel = 7,
AgoraChannelMediaRelayEventUpdateDestinationChannelRefused = 8,
AgoraChannelMediaRelayEventUpdateDestinationChannelNotChange = 9,
AgoraChannelMediaRelayEventUpdateDestinationChannelIsNil = 10,
AgoraChannelMediaRelayEventVideoProfileUpdate = 11,
};
Constants
AgoraChannelMediaRelayEventDisconnect
-
0: The user disconnects from the server due to poor network connections.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventConnected
-
1: The network reconnects.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventJoinedSourceChannel
-
2: The user joins the source channel.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventJoinedDestinationChannel
-
3: The user joins the destination channel.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventSentToDestinationChannel
-
4: The SDK starts relaying the media stream to the destination channel.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventReceivedVideoPacketFromSource
-
5: The server receives the video stream from the source channel.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventReceivedAudioPacketFromSource
-
6: The server receives the audio stream from the source channel.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventUpdateDestinationChannel
-
7: The destination channel is updated.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventUpdateDestinationChannelRefused
-
8: The destination channel update fails due to internal reasons.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventUpdateDestinationChannelNotChange
-
9: The destination channel does not change, which means that the destination channel fails to be updated.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventUpdateDestinationChannelIsNil
-
10: The destination channel name is NULL.
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventVideoProfileUpdate
-
11: The video profile is sent to the server.
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h