AgoraChannelMediaRelayEvent Constants Reference

Declared in AgoraEnumerates.h

AgoraChannelMediaRelayEvent

The event code in AgoraChannelMediaRelayEvent.

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 nil.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventVideoProfileUpdate

11: The video profile is sent to the server.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventPauseSendPacketToDestChannelSuccess

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

Available in v3.5.1

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventPauseSendPacketToDestChannelFailed

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

Available in v3.5.1

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventResumeSendPacketToDestChannelSuccess

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

Available in v3.5.1

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventResumeSendPacketToDestChannelFailed

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

Available in v3.5.1

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h