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

Fix cannot activate mic if last used mic no longer available #4699

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

wmurphyrd
Copy link
Contributor

FF Hubs cannot activate mic

Had an issue where I couldn't activate mic on Firefox, it traced to this feature that pulls the last used mic from local storage to reselect it, but the mic was no longer available. This happened to me and a colleague on different OSes (Linux, Windows) at the same time, so I suspect an FF update may have changed the device id hashing. In testing I could also repro by unplugging mic or altering the saved mic id.

This PR changes the media device query to substitute another mic if the requested one is not available (rather than fail). Oddly, I could only repro on my outdated Hubs cloud. Could not repro master or on the latest Hubs cloud, but I also couldn't identify any changes that would have solved it, so I thought I'd submit the fix anyway since it's so innocuous.

@Charlesc22
Copy link

I'm also seeing this, Firefox never remembers my mic choice. It seems to always be looking for an older one

Copy link
Contributor

@keianhzo keianhzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants