AgoraAudioLocalState Constants Reference

Declared in AgoraEnumerates.h

AgoraAudioLocalState

本地音频状态

Definition

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

Constants

AgoraAudioLocalStateStopped

0: 本地音频默认初始状态。

Declared In AgoraEnumerates.h.

AgoraAudioLocalStateRecording

1: 本地音频采集设备启动成功。

Declared In AgoraEnumerates.h.

AgoraAudioLocalStateEncoding

2: 本地音频首帧编码成功。

Declared In AgoraEnumerates.h.

AgoraAudioLocalStateFailed

3: 本地音频启动失败。

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h