Documentation
¶
Overview ¶
Command server is the Cotilla zero-knowledge WebRTC signaling rendezvous gateway and static asset server.
In accordance with the pure WebRTC signaling isolation architecture:
- /ws strictly handles the 1:1 authenticated WebRTC negotiation (register -> offer -> answer) to establish a direct WebRTC DataChannel connection between the newcomer and the server.
- Once the WebRTC DataChannel is opened, /ws is immediately closed.
- All peer discovery (FramePeerQuery -> FramePeerOffer / FrameRootIntro) and WebRTC overlay peering (FramePeerSignal) happen exclusively through the Cotilla protocol over WebRTC DataChannels.
- The server maintains up to targetPool connections as active anchors and never touches Cotilla room gossip, room keys, chat envelopes, or MLS commits.
Click to show internal directories.
Click to hide internal directories.