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

Looking some older versions of this algorithm, before we had promises,
 we used to have the prerequisite checks done synchronously. And the 
"Error Task", which may be considered unnecessary today, scheduled a 
task to fire the error callback. @youennf, would moving 3.1 and 3.2 
out of the async section make the algorithm better in your opinion?

As @jan-ivar, says above, we can't get away from resolving/rejecting 
promises from the "background" since the result depends on devices 
being probed on the system.

-- 
GitHub Notif of comment by adam-be
See 
https://github.com/w3c/mediacapture-main/issues/174#issuecomment-106789165

Received on Friday, 29 May 2015 12:28:19 UTC