View the console to see logging. The MediaStream object localStream, and the RTCPeerConnection objects localPeerConnection and remotePeerConnection are in global scope, so you can inspect them in the console as well.
MediaStream
localStream
RTCPeerConnection
localPeerConnection
remotePeerConnection