Re: Promises (Re: New Editor's Draft of MediaStream Image Capture)

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.

.: Jan-Ivar :.

Received on Saturday, 13 September 2014 00:42:27 UTC