Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Alice is going to call (video/audio) to Bob.

Alice create RTCPeerConnection object.

Then she calls RTCPeerConnection::CreateOffer(). Create offer method discovers Alice's public API via STUN server, gather her video/audio settings, pack this information and form a SDP packet.

Further Alice must transmit the sdp offer to Bob but she doesn't know Bob's IP address therefore she add pair "name=Bob" in the packet and send it ot the Signal server.

Signal server unpack the packet and retransmit offer to Bob.

Bob receives this packet and calls RTCPeerConnection::SetRemoteDescription on his RTCPeerConnection objects.