-
Notifications
You must be signed in to change notification settings - Fork 733
Audio input device issue when device is removed #462
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
Comments
Thanks for the detailed bug report @coreymaher!! I can confirm that this issue is present in the app. I have created a bug ticket and added it to our backlog. I'll ask around the team here to see what the best approach might be, but I think we will need to listen to the |
Thanks for the info @timmydoza! Is there a public backlog or roadmap for this repo (and/or twilio-video in general)? I'd be curious to see which improvements and bug fixes are coming soon and which ones I should attempt to work-around on my own. |
Thanks @coreymaher! Twilio video doesn't have a public roadmap, but the bugs found in our github issues will have fixes coming at some point. Generally, if a bug isn't going to be fixed, or a feature request isn't going to be implemented, we will close the issue. |
Hi @timmydoza thanks for your responses here. I'd like to +1/bump on this one for prioritization if possible. With WFH, headphones are ever more common. Totally understand if you guys are swamped but would be helpful to understand if a fix could be expected on a scale of days, weeks, or months, so that I can prioritize on my side as well. Thanks again! |
Thanks for the additional info @jszem! I was able to consistently reproduce this issue with wired headphones (with mic), so I understand that this issue has the potential to have a significant impact on users. We will bump the priority of the bugfix. It's added to our next sprint, so I expect that the fix should be merged within the next week or two. |
Hi @coreymaher and @jszem! This fix has been merged into |
Thanks @olipyskoty! I can't wait for the next release, it looks like a bunch of good features and fixes are going to be part of it! |
@olipyskoty I had a chance to test out this fix and it works great in Chrome! Unfortunately, it doesn't appear to work in Firefox.
and
Let me know if you need any more info or would like me to open up a separate bug report for this issue. |
Hi @coreymaher thanks so much for bringing this to our attention. I can reproduce the issue in Firefox exactly as you described. I've added a new bug ticket to our backlog, and we'll let you know as soon as the fix is merged. Have a good weekend! |
Thanks for taking a look @olipyskoty! Have a good weekend as well! |
Hi @coreymaher, thanks again for bringing the Firefox bug to our attention. The fix has been merged into the |
Thanks so much @olipyskoty! |
Describe the bug
If the selected audio input device is removed a new device must be selected before the audio input works again. Adding the audio input device again does not resolve the issue.
This is a bigger problem in firefox because if you have 2 input devices and remove 1 you can't get the remaining input device to work without refreshing the page. When you have at least 3 input devices, you'll have 2 left after removing one so you're able to select an input device.
I think this occurs for output devices as well, but I only tested inputs.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Another input device should be selected automatically and capture input
Screenshots
Chrome Demo - In this video I show what happens when unplugging my mic when it is selected
AudioDeviceSwitchIssue.mp4
Environment (please complete the following information):
Additional context
I tried adding logic to
AudioInputList
to detect when the audio input device list changed and callinglocalAudioTrack?.restart
with either a new device id if the existing one is missing or the same device id if the device id is the same but the group id changed. That did work, but I doubt this is the correct place for this logic since it would only change/restart the input device when the audio and video settings modal is open.Let me know if there's anything else I can provide.
The text was updated successfully, but these errors were encountered: