components-js icon indicating copy to clipboard operation
components-js copied to clipboard

Wrong microphone is selected after reconnecting external headphones

Open krvd opened this issue 6 months ago • 3 comments

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

  1. Select the external microphone on PreJoin page
  2. Connect to the conference
  3. Plug out the external microphone. Internal microphone starts working, other participants can hear me. No devices selected in MediaDeviceSelect component
  4. 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

krvd avatar Aug 27 '24 14:08 krvd