- From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
- Date: Sat, 13 Sep 2014 04:25:41 +0000
- To: Jan-Ivar Bruaroey <jib@mozilla.com>, Martin Thomson <martin.thomson@gmail.com>, Eric Rescorla <ekr@rtfm.com>
- CC: Robert O'Callahan <robert@ocallahan.org>, Harald Alvestrand <harald@alvestrand.no>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On 13/09/14 02:43, Jan-Ivar Bruaroey wrote: > On 9/12/14 7:06 PM, Martin Thomson wrote: >> On 12 September 2014 14:46, Eric Rescorla <ekr@rtfm.com> wrote: >>> I don't believe this is a good change to make at this point. >> This specific change. Definitely. > > Then how about this: > > I notice we have two getUserMedia's already: navigator.getUserMedia (the > one everyone is still using) and the recently added > mediaDevices.getUserMedia. > > Why not leave navigator.getUserMedia with the callbacks and put promises > on everything else, including mediaDevices.getUserMedia? Then spec the > former to call the latter. If we find that there is consensus to add Promises at this stage, this is a really good way forward to avoid breaking existing apps. > > .: Jan-Ivar :. > > >
Received on Saturday, 13 September 2014 04:26:07 UTC