Re: [mediacapture-main] getUserMedia algorithm should be made more synchronous

To what end?

In practice there are inherent reasons to get a list of media devices 
in parallel as to not take up time on the main JS thread (potentially 
querying devices). So this matches at least one implementation.

3.1. is just a declaration for 3.2. so this seems to follow general 
programming best practice of defining variables as close to their use 
as possible. 

3.6. avoids asking users for devices they don't have (3.2.) Some 
implementations also let the user select devices in their permission 
prompt (firefox).

3.5. Seems related to 3.6. and as both optionally jump to 3.11. Moving
 3.5. to the synchronous part would entail duplicating 3.11.

-- 
GitHub Notif of comment by jan-ivar
See 
https://github.com/w3c/mediacapture-main/issues/174#issuecomment-106288247

Received on Thursday, 28 May 2015 11:49:30 UTC