
getUserMedia.js is a cross-browser shim for the getUserMedia() API (a part of WebRTC) that supports accessing a local camera device from inside the browser. Where WebRTC support is detected, it will use the browser’s native getUserMedia() implementation, otherwise a Flash fallback will be loaded instead.