Getting issue in console for fail to load affdex-worker.js


#1

I have set up a demo on below site but getting fail to load js error and depricated function error

1 ) local site: when we start to capture data or click on start button that time get an error in the console
error: https://www.screencast.com/t/j3txf2eh

2 ) server site: on our server, we are getting depricated getUserMedia() error in the console
url: http://clientapp.narola.online/SD/webcam/webcam.php

Would you please check it and help us to fix the issue in our server ?.

our file code

Bootstrap Example
EMOTION TRACKING RESULTS
DETECTOR LOG MSGS
Start Stop Reset

Affectiva JS SDK CameraDetector to track different emotions.

Instructions Press the start button to start the detector.
When a face is detected, the probabilities of the different emotions are written to the DOM.
Press the stop button to end the detector.


#2

Apologies for the delayed response @shiv_sheladiya. I’ve answered a similar question here


Uncaught TypeError: Cannot read property 'getContext' of undefined