New codelab: Realtime communication with WebRTC
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