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,
   AgoraAudioLocalErrorInterrupted = 8,
};

Constants

AgoraAudioLocalErrorOk

0: The local audio is normal.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorFailure

1: No specified reason for the local audio error.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorDeviceNoPermission

2: The application does not have permission to start the local audio capture device. Remind your user to grant permission.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorDeviceBusy

3: The local audio capture device is in use. Check whether the microphone is occupied by another application, or try to rejoin the channel.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorRecordFailure

4: The local audio capture failed. Check whether the audio capture device is working properly.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorEncodeFailure

5: The local audio encoding failed.

Declared In AgoraEnumerates.h.

AgoraAudioLocalErrorInterrupted

8: The local audio capture is interrupted by a system call. If the local audio capture is required, remind your user to hang up the phone.

Available in v3.6.2

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h