3 ms·
The 'rapid iteration' of the web platform strikes again. In this case, getUserMedia has been replaced (edit: I should be precise, "is being replaced") [1] by Me
by niftich 10y ago
The 'rapid iteration' of the web platform strikes again. In this case, getUserMedia has been replaced (edit: I should be precise, "is being replaced") [1] by MediaDevices, which provides a promises-based method for MediaDevices.getUserMedia() [2] to get similar functionality.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia https://developer.mozilla.org/en-US/docs/Web/API/Navigator/g...
[2] https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia https://developer.mozilla.org/en-US/docs/Web/API/MediaDevice...
- AndrewKemendo 10y agoThanks for the comment, I'll check this out, though my guess is that it's only FF that supports it.
- pmontra 10y agoAccording to https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia https://developer.mozilla.org/en-US/docs/Web/API/MediaDevice... it's supported also by Chrome 53. No iOS though.