Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong microphone is selected after reconnecting external headphones #950

Open
krvd opened this issue Aug 27, 2024 · 3 comments
Open

Wrong microphone is selected after reconnecting external headphones #950

krvd opened this issue Aug 27, 2024 · 3 comments
Assignees

Comments

@krvd
Copy link

krvd commented Aug 27, 2024

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
Copy link
Author

krvd commented Aug 27, 2024

The problem might be the same as livekit/client-sdk-js#1220

@livekit livekit deleted a comment Aug 27, 2024
@lukasIO lukasIO transferred this issue from livekit/client-sdk-js Sep 2, 2024
@lukasIO
Copy link
Contributor

lukasIO commented Sep 2, 2024

Thanks for the report!
I transferred the issue to the components repo as the issue's describing an inconsistency in the MediaDeviceSelect component

The issue is likely related to livekit/client-sdk-js#1220.
Generally when devices change the SDK emits a ActiveDeviceChanged event.
In some cases this seems to not have worked reliably.
livekit/client-sdk-js#1237 aims to fix that.

@bcherry bcherry closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
@lukasIO lukasIO reopened this Sep 4, 2024
@bcherry
Copy link
Contributor

bcherry commented Sep 4, 2024

@lukasIO ah sorry - gotta find a way to close dupes in linear without closing the github ticket...

@lukasIO lukasIO self-assigned this Sep 5, 2024
@lukasIO lukasIO closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2024
@lukasIO lukasIO reopened this Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants