I have a working code on desktop browsers supporting getUserMedia Api, I can correctly see a video preview of my webcam in the div videoPreview
. However, when r
A colleague of mine and myself had the same issue today: working code didn't work anymore and the camera was frozen. Surprisingly (or not), a reboot fixed that problem.
For those encountering same problem : I fixed it by adding autoplay
attribute to my <video>
tag.
Was stuck with this for a while, I hope this will help someone else.