Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Shim for getUserMedia - WebRTC for Chrome Canary/Opera.next.camera, Flash fallback for everyone else.
JavaScript ActionScript
Tree: 46dc64f0db

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
fallback
glasses
js
README.md
demo.html

README.md

A getUserMedia() shim with a Flash fallback. Currently works cross-browser (Chrome, Opera, Firefox etc) with more testing currently being done to establish IE compatibility. An image capture and data manipulation demo can be found in js/app.js as demonstrated in demo.html. The actual shim can be found in js/getusermedia.js.

Credits

  • getUserMedia() shim, demos: Addy Osmani
  • Flash webcam access implementation: Robert Eisele
  • Glasses positoning and filters for demo: Wes Bos

Browsers

getUserMedia() is natively supported in Chrome Canary(simply enable experimental MediaStream compatibility in chrome://flags/) and Opera.next (Camera build). When using the shim, if support isn't detected you will be provided a Flash fallback.

Documentation

A stable version of the shim was only very recently completed but documentation will be added to the repo (or the wiki) shortly.

Spec references

Something went wrong with that request. Please try again.