Repository navigation
v0.2.56
WebRTC In-Band Signaling
This release reimplements WebRTC signaling to use the existing sync protocol instead of a separate signaling stream, fixing reliability issues.
Changes
- WebRTC signaling via sync protocol - Signaling messages (offer, answer, ICE candidates) are now sent over the sync stream after reaching "live" mode
- Manual upgrade button - Connection status modal now shows WebRTC state and an "Upgrade" button to manually trigger direct connection attempts
- Deterministic initiator - Lower node ID always creates the WebRTC offer, preventing conflicts
- Auto-retry - Failed WebRTC upgrades automatically retry with backoff
How it works
- Sync connection is established via Iroh relay
- After sync enters "live" mode, WebRTC upgrade is attempted
- If successful, data can be sent over the faster WebRTC connection
- If WebRTC fails, sync continues over the reliable Iroh connection