AgoraChannelMediaRelayState Constants Reference

Declared in AgoraEnumerates.h

AgoraChannelMediaRelayState

The state code in AgoraChannelMediaRelayState.

Definition

typedef NS_ENUM(NSInteger, AgoraChannelMediaRelayState ) {
   AgoraChannelMediaRelayStateIdle = 0,
   AgoraChannelMediaRelayStateConnecting = 1,
   AgoraChannelMediaRelayStateRunning = 2,
   AgoraChannelMediaRelayStateFailure = 3,
};

Constants

AgoraChannelMediaRelayStateIdle

0: The SDK is initializing.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayStateConnecting

1: The SDK tries to relay the media stream to the destination channel.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayStateRunning

2: The SDK successfully relays the media stream to the destination channel.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayStateFailure

3: A failure occurs. See the details in error.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h