/getUserMedia-demo

Taking screenshots with getUserMedia

Primary LanguageJavaScriptMIT LicenseMIT

getUserMedia demo

Taking screenshots with getUserMedia API.

This a demo of how to use getUserMedia to access your webcam and capture a screenshot by drawing a frame to a canvas element and creating a base64 string from it which we then send it over to the node server to write to a file.

Demo

https://lab.miguelmota.com/getusermedia-demo

Usage

node server/server.js
cd client/

python -m SimpleHTTPServer 9999

Navigate to demo at http://localhost:9999

License

MIT