When I run on local the camera is work. but when I run on server aws EC2 I got this when I run the camera
Uncaught TypeError: navigator.getUserMedia is not a function
at HTMLDivElement.<anonymous> (bundle.js:248)
at HTMLDivElement.dispatch (jquery.min.js:2)
at HTMLDivElement.y.handle (jquery.min.js:2)
at Object.trigger (jquery.min.js:2)
at HTMLDivElement.<anonymous> (jquery.min.js:2)
at Function.each (jquery.min.js:2)
at w.fn.init.each (jquery.min.js:2)
at w.fn.init.trigger (jquery.min.js:2)
at HTMLDivElement.r (bootstrap.min.js:6)
at HTMLDivElement.i (jquery.min.js:2)
When I run on local the camera is work. but when I run on server aws EC2 I got this when I run the camera
Can you advice , how to fix it?