Open SameetIkram opened 8 months ago
Thank you for the report. Unfortunately 0.32.0 has not been supported for some time. I highly recommend you upgrade to the latest. We have re-written much of our local device handling since then and solved many issues.
If you still have issues on the latest, can you provide more information about your setup. For instance, you reference background music. Is this music coming from a participant? Is it a custom audio track? How is it being shared?
Thank you for your prompt response. Despite regular upgrades, the issues persist even with the latest version. Regarding the background music query, the music played in our application is sourced from an S3 storage and accessed through the Web Audio API for playback.
I am using version 0.32.0
Expected behavior
I expect that when muting a participant in my application, the audio ducking should stop, allowing the background music to play smoothly.
Describe the bug (unexpected behavior)
The issue is that I need to mute all the unmuted participants first to remove the audio ducking. If all the participants are muted, there is no audio ducking, and the music plays smoothly in the background. However, as soon as I unmute a participant, the music starts to duck for that participant. Even if I mute that participant again, the ducking does not stop until all participants are muted. The built-in audio ducking feature in iOS has no impact, whether it's enabled or disabled.
Steps to reproduce
Mute all participants.
Observe smooth background music playback.
Unmute a participant. dailyCallObject.setLocalAudio(true); if (userDevices.microphones.length > 0) { let microphoneIndex = userDevices.microphones.findIndex((microphone) => microphone.selected); microphoneIndex = microphoneIndex !== -1 ? microphoneIndex : 0; const selectedMicrophone = userDevices.cameras[microphoneIndex].device.deviceId; if (selectedMicrophone) { userDevices.setMicrophone(selectedMicrophone); } }
Observe audio ducking for the unmuted participant.
Mute the previously unmuted participant.
Observe that audio ducking persists until all participants are muted.
System information