W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2014

Re: Strawman Promises consensus position, based on Thursday's telechat

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Mon, 06 Oct 2014 16:28:46 -0400
Message-ID: <5432FB7E.5000807@mozilla.com>
To: Jake Archibald <jaffathecake@gmail.com>, public-media-capture@w3.org
On 10/6/14, 11:54 AM, Jake Archibald wrote:
> > Unprefixing will seamlessly work.
> Dropping navigator.getUserMedia & keeping the prefixed versions as 
> (c,s,f) => navigator.mediaDevices.getUserMedia(c).then(s, f) will also 
> seamlessly work, and doesn't result in shipping callbacks despite (or, 
> to spite?) promises.

Personally I would support that, but beware the difference from what's 
proposed: What you suggest would not require Safari or IE to implement 
navigator.getUserMedia, which would break anyone who expected:

navigator.getUserMedia = navigator.getUserMedia || 
navigator.webkitGetUserMedia || navigator.mozGetUserMedia;

to work on Safari or IE.

(though Safari or IE would of course be free to implement, say, 
navigator.webkitGetUserMedia for legacy compatibility if they so desired)

.: Jan-Ivar :.
Received on Monday, 6 October 2014 20:29:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:30 UTC