New codelab: Realtime communication with WebRTC
View the console to see logging. The
localStream, and the
pc2 are in global scope, so you can inspect them in the console as well.
For more information about RTCPeerConnection, see Getting Started With WebRTC.View source on GitHub