Check out my new article: Website prelaunch checklist
— simple techniques to find and fix glitches. getUserMedia

The MediaStream object stream passed to the getUserMedia() callback in this demo is in global scope, so you can inspect it from the console.

For more information, see Capturing Audio & Video in HTML5 on HTML5 Rocks.

View source on GitHub