mirror of
https://github.com/livekit/livekit.git
synced 2026-12-04 13:58:09 +00:00
* Keep the ICE config set by the candidate protocol simulate The switch candidate protocol simulate restarts ICE with a TCP or TLS config, and the client then rejoins. The participant reports only a learned fallback to OnICEConfigChanged, so the room manager did not cache the simulated config and the rejoin went back to UDP. SimulateICEFallback restarts ICE and reports the config like a learned fallback. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Keep a simulated ICE config only when the node offers the transport The simulate still applies the config to the current session. It is reported for the rejoin only for ICE/TCP on a node with an ICE/TCP listener, or for TURN/TLS on a node with TURN/TLS. A rejoin after a simulate of a transport that the node does not offer then uses UDP. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>