Closed skgwazap closed 4 years ago
Can't make echo cancellation work. In a room with 2+ participants I hear myself after a short delay. I've tried to specify some flags explicitly:
JavaAudioDeviceModule.builder(appContext) .setUseHardwareAcousticEchoCanceler(true) .setUseHardwareNoiseSuppressor(true)
but with no success. Official AppRtc demo from Google works fine. Any ideas how to fix this?
Well, I found a reason - a correct mode must be set in AudioManager audioManager.mode = AudioManager.MODE_IN_COMMUNICATION before any call.
audioManager.mode = AudioManager.MODE_IN_COMMUNICATION
Can't make echo cancellation work. In a room with 2+ participants I hear myself after a short delay. I've tried to specify some flags explicitly:
but with no success. Official AppRtc demo from Google works fine. Any ideas how to fix this?