Functions

  • Create a data channel using the given RtcPeerConnection, assigned the given label
  • Create an RtcPeerConnection with the given ICE/STUN server, defaulting to Google’s STUN server
  • Initialize an RtcDataChannel, with the given callback Closures
  • Initialize RtcPeerConnection using selected signalling server endpoint, defaulting to “http://localhost:3000/connect”