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; capture failure ends media-failed
Federation forward /federation/realtime/signal
Same-Station peers use the local EventBus
SSE fan-out: every online device rings
Call resolution opens at the callee Home Station
Winning device sends sealed CALL_ACCEPT
A sibling device answering stops this ring
Federation forward back; resolution terminal
Winner resolution lives only at the 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 designated offerer negotiates
Direct DTLS-SRTP encrypted media
The DataChannel only serves call readiness, not message text
Direct ICE fails: relay candidate selected
TURN-REST credential provisioned at setup via /api/v1/turn/ice-servers (24h)
SRTP media via TURN relay
CALL_END after 45s unanswered; ICE drops get a 20s reconnect window
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
Diagram guide
Explore this system
×
Inspecting compiled semantics
01
Find any node Search labels, responsibilities, kinds, and stable IDs.
/
02
Trace a route Ask how two semantic nodes connect in authored direction.
R
03
See the whole system Open Semantic Radar with a live viewport and stable nodes.
M
04
Compare semantic kinds Count roles, reveal their traffic, and compare direct authored links.
L
05
Enter Presentation Stage Give the live diagram the viewport without changing export.
F
E ExportT ThemeS Style0 Reset+ Zoom in- Zoom outEsc Close
Find Archify useful? A star on GitHub helps Star ↗
Find a node
×
⌕
/
No matching nodes
Semantic passport
Authored reach
Upstream 0
Downstream 0
×
Copy link
Relations
Path
Click where the path starts
Find start
Copy link
Clear
Click two nodes on the diagram
←
▶
Journey
→
Overview
Click a start, then an end. Paths follow the arrows.
Semantic lens
Compare system roles
×
Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.
Choose a kind to inspect its nodes and touching relationships.
Copy link
Clear
Semantic radar
Building overview
Open radar
×
Click node Drag to pan
Semantic radar needs more MAP space.
Notes & index
ROUTE
MAP
LENS
READ 100%