New codelab: Realtime communication with WebRTC
Warning: if you're not using headphones, pressing play will cause feedback.
Display the video stream from getUserMedia()
in a video element.
The MediaStream
object stream
passed to the getUserMedia()
callback is in global scope, so you can inspect it from the console.