mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-07-03 14:05:39 +02:00
f79439e61a
detect a server restart when a frame from a new epoch arrives after the latched peer has gone silent past a grace window, then drive the full carrier rebuild (stream.Reconnect) instead of a bare re-handshake over the stale carrier. the restarted server rejoins the sfu as a fresh participant, so re-handshaking on the old media path only times out; rebuilding the carrier re-establishes a path the new server answers on and recovers in seconds instead of waiting out the ~70s liveness window