This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Bug added to keep track of any decision we make. Jan-Ivar has proposed that we introduce promises for access using navigator.mediaDevices (while implementations maintain the old call-back approach for navigator.getUserMedia for some time to avoid breaking apps). Refer to http://lists.w3.org/Archives/Public/public-media-capture/2014Sep/0080.html Pull request at https://github.com/w3c/mediacapture-main/pull/18
As requested, here's an implementation of (just) mediaDevices.getUserMedia with promises to try out. The download link has builds for PC, Mac, Linux and Android. [1] Test page: https://bug1033885.bugzilla.mozilla.org/attachment.cgi?id=8492620 [1] http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jbruaroey@mozilla.com-ed433cc24a42/
Promises introduced in version http://w3c.github.io/mediacapture-main/archives/20141027/getusermedia.html