Skip to content

STUN relay handshake

Relay - stun-relay

REL-02 - status: draft - audio, video, group

A STUN-dialect handshake binds the client to a relay candidate before WARP media frames flow.

  • Candidates come from the offer's <destination> (see call-offer), each annotated with measured latency.
  • The client MUST complete the STUN handshake against these candidates to establish the client↔relay binding that WARP frames ride over.
  • The client SHOULD select the lowest-latency candidate.

Requires: call-offer
Breakdown: media-loop, relay-candidates, warp, call-relaylatency, call-transport, flow-outgoing-1to1

Implemented by

Flavor Status Source Notes
whatsapp-rust working history - blame - commits 674e851
zapo-caller working

Annotation wacrg:REL-02 — a flavor marks its implementation site in source with this comment; a script clones the source, finds it, and attaches the commit blame/permalink.

Contributors

Contributor Role
Rajeh Taher Rajeh Taher wrote initial spec

protocol history / diff - blame

Changelog

  • 2026-06-21 — Initial spec entry.

Back to the full spec