Understanding WebSocket Traffic in Trystero
This panel shows the raw WebSocket messages being sent and received by Trystero. Here's what you're seeing:
- Signaling Messages: WebRTC requires an initial "signaling" phase to exchange connection information like IPs and ports. This happens over WebSockets.
- SDP Messages: Session Description Protocol messages contain the technical details needed to establish peer connections. These are large and are filtered by default.
- Peer Discovery: Messages to find and connect to other peers in the same room.
- Heartbeats: Regular messages to maintain connections with signaling servers.
Once WebRTC connections are established, direct peer-to-peer communication happens outside these WebSockets.
The specific protocol and message format varies by strategy (nostr, torrent, etc.).