linphone-sdk
linphone-sdk copied to clipboard
cannot open pcm_in driver: cannot open device '/dev/snd/pcmC0D4294967295c'
HI : I ran this project on TV (Android), but I found it can't record.(I guess the microphone device path are wrong.)
error log :
2024-10-14 18:15:04.521 3394-11221 audio_hw_primary pid-3394 E start_input_stream: cannot open pcm_in driver: cannot open device '/dev/snd/pcmC0D4294967295c': No such file or directory
2024-10-14 18:15:04.521 3394-11221 audio_hw_primary pid-3394 E in_read: read failed - sleeping for buffer duration
2024-10-14 22:08:53.630 18534-18534 Linphone com.fixim.zhphone W [AAudio Recorder] This device ID [12] is already in use
2024-10-14 22:08:53.657 18534-18795 Linphone com.fixim.zhphone W [AAudio Recorder] Device ID changed to 10
2024-10-14 22:08:53.749 18534-18793 Linphone com.fixim.zhphone E [AAudio Recorder] Start stream for recorder failed: -895 / AAUDIO_ERROR_INVALID_STATE
anyone tell me how to fix it ?