This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Imagine the following scenario: * as a user, I get prompted to authorize access to one of my video cameras via a prompt in the browser * while I'm taking a decision, the video camera I'm about to grant access to get reserved by another part of the system and is thus no longer usable by the browser What should getUserMedia do? I don't know if it should invoke the success callback with an ended stream (this would among other things let the dev access info on other devices), or it should invoke the error callback with a new error.
#22251 suggests a HardwareUnavailable error
Thinking some more about it, I think the outcome of this situation probably depends on the timing, the UI, and whether capture devices are locked-in by the browser or the OS. As a result, it's probably left undefined for the time being, thus I think closing that bug is probably appropriate.
Ok, closing.