getUserMedia Adatper
Copyrights goes to:
navigator.getUserMedi
is upgraded into promises based API:navigator.mediaDevices.getUserMedia
.This shim/polyfill merely helps handling cross-browser issues.
Check all releases:
How to link?
It is suggested to link specific release:
E.g.
<!-- use 5.2.4 or any other version -->
How to use?
{ videosrcObject = stream;} { // maybe another application is using the device} var mediaConstraints = video: true audio: true ; navigatormediaDevices;