Core building blocks

Typical connection flow

  1. Each peer creates an RTCPeerConnection and adds tracks or data channels.
  2. One side creates an offer SDP; the other creates an answer.
  3. ICE candidates are trickled or batched to the remote peer via your signaling server.
  4. Once ICE completes, media flows directly (or via TURN relay).

Security model