client-sdk-android
client-sdk-android copied to clipboard
Hearing my own voice when I and the other participants are unmute and have the Speakerphone selected as audioDevice
Describe the bug Join the call and select the Speakerphone as selectedAudioDevice. Once 2 or 3 users join this call, and unmute themselves then some of them start hearing themselves back with a delay of about 1 sec.
To Reproduce
Here is the snippet used right after joining the call to start using the speakerphone:
val audioDevices = audioHandler.availableAudioDevices
val outputDevice = audioDevices.find { it is AudioDevice.Speakerphone }
audioHandler.selectDevice(outputDevice)
Expected behavior None of the participants should hear themselves back.
Device Info:
- Device: [Google Pixel 6a & Samsung A32]
- OS: [Android 14 & Android 13]
- LiveKit SDK version: [1.6.0]
Additional context
I am using the audioHandler of the room.
audioHandler = room.audioHandler as AudioSwitchHandler