-
Notifications
You must be signed in to change notification settings - Fork 128
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
Disable automatic device switching if user doesn't follow the system default device #694
Comments
To clarify a bit more, we should only switch devices automatically when user asks to use the system default device. Using the system default means that the users pass a Line 524 in 5a2a20c
Line 531 in 5a2a20c
If users pass a non- In brief, switching device or not can be summarized into the following situations: For input stream:
For output stream:
For duplex stream:
|
I think it's a good time to revisit #167 again. I believe the WebRTC spec allow users to select the output device now: https://webrtc.github.io/samples/src/content/devices/input-output/, and Chrome has implemented that but we haven't. In addition, we need to support the setSinkId as well. We should check the WebRTC and setSinkId's spec and then think how we should handle the device-switching policy in cubeb. We also have a few special cases for the output device selection (e.g., Bluetooth Handsfree, Loopback). That's something we need to take into our consideration, and we need to document this policy somewhere. |
@ChunMinChang, https://bugzilla.mozilla.org/show_bug.cgi?id=1650131 Is there any roadmap tracking the progress of implementing this WebRTC specification in Firefox that we can vote on and/or contribute to? |
To unblock BMO 1735201 and BMO 1238038, we should disable automatic device switching by default unless users ask to follow the system default device. That should be the default behavior in Firefox.
The text was updated successfully, but these errors were encountered: