AgoraAudioLocalState Constants Reference

Declared in AgoraEnumerates.h

AgoraAudioLocalState

The state of the local audio.

Definition

typedef NS_ENUM(NSUInteger, AgoraAudioLocalState ) {
   AgoraAudioLocalStateStopped = 0,
   AgoraAudioLocalStateRecording = 1,
   AgoraAudioLocalStateEncoding = 2,
   AgoraAudioLocalStateFailed = 3,
};

Constants

AgoraAudioLocalStateStopped

0: The local audio is in the initial state.

Declared In AgoraEnumerates.h.

AgoraAudioLocalStateRecording

1: The recording device starts successfully.

Declared In AgoraEnumerates.h.

AgoraAudioLocalStateEncoding

2: The first audio frame encodes successfully.

Declared In AgoraEnumerates.h.

AgoraAudioLocalStateFailed

3: The local audio fails to start.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h

X
Is this page helpful?