auduno / headtrackr

Javascript library for headtracking via webcam and WebRTC/getUserMedia
3.69k stars 504 forks source link

no camera found #22

Closed ricricucit closed 10 years ago

ricricucit commented 10 years ago

Following your instructions in "Usage" i get a "no camera found" on Chrome 33.0.1750.117 ......and looking at headrackr.js i don't see anything wrong.

it passes "if (navigator.getUserMedia) {"

and then goes to the error callback of "navigator.getUserMedia"

any idea why this could happen?

ricricucit commented 10 years ago

Nevermind this. I wasn't emulating an HTTP Server. Running "python -m SimpleHTTPServer" solved my problem.