WebRTC Shim Shim library to establish a peer connection and send Audio, Video and Data How to use new window.WebRTCShim(rtcmessageCallbackFn,dataChannelCallbackFn,remoteStreamCallbackFn, RTCPeerConfig) Example can be found here - source code Socket structure Socket.io example App