View the console to see logging.
The RTCPeerConnection
objects localConnection
and remoteConnection
are in global scope, so you can inspect them in the console as well.
For more information about RTCDataChannel, see Getting Started With WebRTC.
View source on GitHub