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. Remind your user to try to rejoin the channel.
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: (iOS only) The local audio capture device is used. Remind your user to check whether another application occupies the microphone. Local audio capture automatically resumes after the microphone is idle for about five seconds. You can also try to rejoin the channel after the microphone is idle.
Declared In
AgoraEnumerates.h
. AgoraAudioLocalErrorRecordFailure
-
4: The local audio capture failed.
Declared In
AgoraEnumerates.h
. AgoraAudioLocalErrorEncodeFailure
-
5: The local audio encoding failed.
Declared In
AgoraEnumerates.h
. AgoraAudioLocalErrorInterrupted
-
8: (iOS only) The local audio capture is interrupted by a system call, Siri, or alarm clock. Remind your user to end the phone call, Siri, or alarm clock if the local audio capture is required.
Available in v3.6.2
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h