components-js
components-js copied to clipboard
Wrong microphone is selected after reconnecting external headphones
First of all, a huge thank you to the LiveKit team for the great work. It's clear that LiveKit is getting better and better with each new version.
Describe the bug
I join to the conference with external microphone selected as active. Plug out and plug microphone back. The active device in the user interface and the microphone that is actually active are not the same.
What I am expecting
External Microphone is selected in the interface and transmits audio to the conference
What happened instead
External Microphone is selected in MediaDeviceSelect component, but in fact the sound is transmitted from the laptop built-in microphone
Reproduction
- Select the external microphone on PreJoin page
- Connect to the conference
- Plug out the external microphone. Internal microphone starts working, other participants can hear me. No devices selected in MediaDeviceSelect component
- Plug in the same external microphone. External microphone appeared in MediaDeviceSelect and selected, but participants still hear me from my internal microphone
Logs
No response
System Info
macOS 14.4.1
Chrome 128.0.6613.85
Reproduced on https://meet.livekit.io/
Severity
serious, but I can work around it
Additional Information
No response