Microphone issue on VOICE_COMMUNICATION

150 views
Skip to first unread message

Tomer Petel

unread,
Mar 11, 2022, 2:41:45 PM3/11/22
to discuss-webrtc
Hi :)

I'm trying to establish a P2P connection where the initiator is an Android 8.1.0 based device and the responder can be any smartphone.

When I use MIC as source I can hear sound + video but having serious echo problems but when I try to set VOICE_COMMUNICATION mode the microphone on the responder side is not working and I'm seeing the below errors:

2022-03-10 16:31:41.717 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_device_module.cc: (line 232): output: 0
2022-03-10 16:31:41.722 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_device_module.cc: (line 316): Recording
2022-03-10 16:31:41.722 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_device_module.cc: (line 225): InitRecording
2022-03-10 16:31:41.722 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_device_module.cc: (line 239): RecordingIsInitialized
2022-03-10 16:31:41.722 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_device_module.cc: (line 283): StartRecording
2022-03-10 16:31:41.722 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_device_module.cc: (line 316): Recording
2022-03-10 16:31:41.722 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_record_jni.cc: (line 135): StartRecording
2022-03-10 16:31:41.723 24271-24383/com.bluegate.intercom.androidrtc.debug I/WebRtcAudioRecordExternal: startRecording
2022-03-10 16:31:41.736 24271-24382/com.bluegate.intercom.androidrtc.debug I/connection.cc: (line 1168): Conn[8602a400:audio:Net[rmnet_data1:10.77.112.x/29:Cellular:id=3]:5zSnjBdS:1:0:local:udp:192.168.1.x:51529->e26m5jMo:1:1853824767:prflx:udp:192.168.1.x:44768|CR-I|-|0|0|7962116751024209407|-]: Sent STUN BINDING request, id=4a534b327458525063536a4a, use_candidate=0, nomination=0
2022-03-10 16:31:41.754 24271-24383/com.bluegate.intercom.androidrtc.debug I/WebRtcAudioRecordExternal: scheduleLogRecordingConfigurationsTask
2022-03-10 16:31:41.758 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_record_jni.cc: (line 41): WebRTC.Audio.StartRecordingDurationMs: 35
2022-03-10 16:31:41.758 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_device_module.cc: (line 290): output: 0
2022-03-10 16:31:41.758 24271-24383/com.bluegate.intercom.androidrtc.debug I/audio_device_buffer.cc: (line 118): StartRecording
2022-03-10 16:31:41.758 24271-24383/com.bluegate.intercom.androidrtc.debug I/channel.cc: (line 833): Changing voice state, recv=1 send=1 for {mid: audio, media_type: audio}
2022-03-10 16:31:41.760 24271-24458/com.bluegate.intercom.androidrtc.debug I/delay_based_bwe.cc: (line 120): Initialized DelayBasedBwe with small packet filtering smoothing:0.1,fraction_large:1,large:0 bytes,small:0 bytes, separate audio overuse detectionenabled:false,packet_threshold:10,time_threshold:1 s and alr limited backoff disabled
2022-03-10 16:31:41.764 24271-24383/com.bluegate.intercom.androidrtc.debug I/channel.cc: (line 833): Changing voice state, recv=1 send=1 for {mid: audio, media_type: audio}
2022-03-10 16:31:41.799 24271-24563/com.bluegate.intercom.androidrtc.debug I/WebRtcAudioRecordExternal: AudioRecordThread@[name=AudioRecordJavaThread, id=1005]
2022-03-10 16:31:41.799 24271-24563/com.bluegate.intercom.androidrtc.debug I/WebRtcAudioRecordExternal: doAudioRecordStateCallback: START
2022-03-10 16:31:41.876 24271-24565/com.bluegate.intercom.androidrtc.debug I/WebRtcAudioRecordExternal: Number of active recording sessions: 1
2022-03-10 16:31:41.876 24271-24565/com.bluegate.intercom.androidrtc.debug I/WebRtcAudioRecordExternal: AudioRecordingConfigurations:
2022-03-10 16:31:41.929 24271-24565/com.bluegate.intercom.androidrtc.debug E/AudioRecordingConfiguration: Couldn't find device for recording, did recording end already?
2022-03-10 16:31:41.929 24271-24565/com.bluegate.intercom.androidrtc.debug I/WebRtcAudioRecordExternal:   client audio source=VOICE_COMMUNICATION, client session id=2481 (2481)
      Device AudioFormat: channel count=1, channel index mask=0, channel mask=IN_MONO, encoding=PCM_16BIT, sample rate=48000
      Client AudioFormat: channel count=1, channel index mask=0, channel mask=IN_MONO, encoding=PCM_16BIT, sample rate=48000
2022-03-10 16:31:41.939 24271-24565/com.bluegate.intercom.androidrtc.debug E/AudioRecordingConfiguration: Couldn't find device for recording, did recording end already?
2022-03-10 16:31:41.940 24271-24565/com.bluegate.intercom.androidrtc.debug E/WebRtcAudioRecordExternal: verifyAudioConfig: FAILED

anyone encountered this issue? any ideas?

Thanks,
Tomer
Reply all
Reply to author
Forward
0 new messages