reiinakano / arbitrary-image-stylization-tfjs

Arbitrary style transfer using TensorFlow.js
https://reiinakano.github.io/arbitrary-image-stylization-tfjs/
Apache License 2.0
1.19k stars 213 forks source link

camera work in local run but not work in production aws ec2 #29

Open skanel opened 5 years ago

skanel commented 5 years ago

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)

Can you advice , how to fix it?