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

I actually quite like this idea!

Best Regards,
Silvia.
On 13 Sep 2014 10:43, "Jan-Ivar Bruaroey" <jib@mozilla.com> 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.
>
> .: Jan-Ivar :.
>
>
>

Received on Saturday, 13 September 2014 04:10:13 UTC