WebCam - Browser does not support getUserMedia in IE Edge

877 Views Asked by At

I am developing an Angular application that needs photo capturing functionality. For that purpose, I am using WebCam directive by referring following links.

https://github.com/jonashartmann/webcam-directive

https://jonas.hartmann.site/webcam-directive/#/

After developing whole page, I am now stuck unit testing on Edge due to 'Browser does not support getUserMedia' error. After googling for solution, I came across links that says, Edge doesn't have support for getUserMedia.

how to make getUserMedia() work on all browsers

http://blog.teamtreehouse.com/accessing-the-device-camera-with-getusermedia

I think, there will be alternate solution for this scenario but I can't figure it out.

NOTE: webcam.min.js file already used

navigator.getMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia 

Thanks in advance.

0

There are 0 best solutions below