AgoraAudioLocalError Constants Reference

Declared in AgoraEnumerates.h

AgoraAudioLocalError

The error information of the local audio.

Definition

typedef NS_ENUM(NSUInteger, AgoraAudioLocalError ) {
   AgoraAudioLocalErrorOk = 0,
   AgoraAudioLocalErrorFailure = 1,
   AgoraAudioLocalErrorDeviceNoPermission = 2,
   AgoraAudioLocalErrorDeviceBusy = 3,
   AgoraAudioLocalErrorRecordFailure = 4,
   AgoraAudioLocalErrorEncodeFailure = 5,
};

Constants

AgoraAudioLocalErrorOk

0: The local audio is normal.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorFailure

1: No specified reason for the local audio failure.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorDeviceNoPermission

2: No permission to use the local audio device.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorDeviceBusy

3: The microphone is in use.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorRecordFailure

4: The local audio recording fails. Check whether the recording device is working properly.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorEncodeFailure

5: The local audio encoding fails.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h