AgoraAudioFramePosition Constants Reference

Declared in AgoraEnumerates.h
Availability v3.4.5

AgoraAudioFramePosition

The bit mask that controls the audio observation positions. (iOS only)

Definition

typedef NS_ENUM(NSUInteger, AgoraAudioFramePosition ) {
   AgoraAudioFramePositionPlayback = 1 < < 0,
   AgoraAudioFramePositionRecord = 1 < < 1,
   AgoraAudioFramePositionMixed = 1 < < 2,
   AgoraAudioFramePositionBeforeMixing = 1 < < 3,
};

Constants

AgoraAudioFramePositionPlayback

The position for observing the playback audio of all remote users after mixing, which enables the SDK to trigger the onPlaybackAudioFrame callback.

Declared In AgoraEnumerates.h.

AgoraAudioFramePositionRecord

The position for observing the recorded audio of the local user, which enables the SDK to trigger the onRecordAudioFrame callback.

Declared In AgoraEnumerates.h.

AgoraAudioFramePositionMixed

The position for observing the mixed audio of the local user and all remote users, which enables the SDK to trigger the onMixedAudioFrame callback.

Declared In AgoraEnumerates.h.

AgoraAudioFramePositionBeforeMixing

The position for observing the audio of a single remote user before mixing, which enables the SDK to trigger the onPlaybackAudioFrameBeforeMixing callback. S-54718: add mutiplechannel and beforeMixingEx for audioDataFrameProtocol)

Declared In AgoraEnumerates.h.

Availability

v3.4.5

Declared In

AgoraEnumerates.h