Agora Java API Reference for Android
|
Static Public Member Functions | |
static int | getValue (LOCAL_AUDIO_STREAM_ERROR type) |
The local audio state type.
io.agora.rtc2.IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR.LOCAL_AUDIO_STREAM_ERROR_OK =(0) |
0: The local audio is normal.
io.agora.rtc2.IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR.LOCAL_AUDIO_STREAM_ERROR_FAILURE =(1) |
1: No specified reason for the local audio failure.
io.agora.rtc2.IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR.LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION =(2) |
2: No permission to use the local audio device.
io.agora.rtc2.IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR.LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY =(3) |
3: The microphone is in use.
io.agora.rtc2.IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR.LOCAL_AUDIO_STREAM_ERROR_RECORD_FAILURE =(4) |
4: The local audio recording fails. Check whether the recording device is working properly.
io.agora.rtc2.IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR.LOCAL_AUDIO_STREAM_ERROR_ENCODE_FAILURE =(5) |
5: The local audio encoding fails.