1:1 voice and video calls: dual Home Station signaling + WebRTC media

Ring/accept/end are sealed envelopes posted to each peer's own Home Station: local EventBus when both peers share a Station, federated realtime routing across Stations. Stations relay opaque payloads and never hold keys. Media is end-to-end DTLS-SRTP, direct first with TURN fallback.

1:1 voice and video calls: dual Home Station signaling + WebRTC media Ring/accept/end are sealed envelopes posted to each peer's own Home Station: local EventBus when both peers share a Station, federated realtime routing across Stations. Stations relay opaque payloads and never hold keys. Media is end-to-end DTLS-SRTP, direct first with TURN fallback. POST /realtime/signal: sealed CALL_REQUEST getUserMedia runs first; capturefailure ends media-failed Federation forward /federation/realtime/signal Same-Station peers use the localEventBus SSE fan-out: every online device rings Call resolution opens at thecallee Home Station Winning device sends sealed CALL_ACCEPT A sibling device answering stopsthis ring Federation forward back; resolution terminal Winner resolution lives only atthe callee Home SSE: call active (winning_device_id) Sealed OFFER + ICE candidates Same federation/SSE path;candidates buffer then replay Sealed ANSWER + ICE candidates Reverse path; the designatedofferer negotiates Direct DTLS-SRTP encrypted media The DataChannel only serves callreadiness, not message text Direct ICE fails: relay candidate selected TURN-REST credential provisionedat setup via/api/v1/turn/ice-servers (24h) SRTP media via TURN relay CALL_END after 45s unanswered;ICE drops get a 20s reconnectwindow Ringing and acceptance (auto-ends after 45s unanswered) In call: end-to-end realtime media Caller Client · getUserMedia capture · Sequence participant Caller Client getUserMedia capture Caller Home Station · POST /realtime/signal · SSE · Sequence participant Caller Home Station POST /realtime/signal · SSE Callee Home Station · call resolution owner · peer route · Sequence participant Callee Home Station call resolution owner · peer route Callee Client · Ring / accept / decline · Sequence participant Callee Client Ring / accept / decline STUN / TURN · ICE discovery and relay (:3478) · Sequence participant STUN / TURN ICE discovery and relay (:3478) Legend main request return security async trace