Re: [Bug 26243] Do we need getUserMedia() on MediaDevices?

Le vendredi 22 août 2014 à 09:08 +0000, Stefan Håkansson LK a écrit :
> > --- Comment #4 from Adam Bergkvist <adam.bergkvist@ericsson.com> ---
> > Proposed fix:
> > https://github.com/w3c/mediacapture-main/commit/30c1812084ceee87761f2ee4af9a123b0a604ec6
> 
> Looks good to me

I'm personally a bit skeptical we can change navigator.getUserMedia to
navigator.mediaDevices.getUserMedia now; there is quite a bit of
existing documentation and knowledge around the existing
navigator.getUserMedia.

While esthetically I can understand the change, I don't think aesthetics
have sufficient values to justify the cost of explaining to thousands of
developers that their existing 
  navigator.getUserMedia = navigator.webkitGetUserdia ||
navigator.mozGetUserMedia; 
is worth fixing.

Was there another reason to prefer that change? (over to just leave
getUserMedia entirely out of MediaDevices)

Dom

Received on Friday, 22 August 2014 13:56:00 UTC