Files
livekit/pkg
Raja SubramanianandClaude Fable 5.2 c5c8ec507d rtc: keep the ICE config set by the candidate protocol simulate (#5270)
* 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>
2026-11-24 19:21:25 +05:30
..
2025-11-28 21:51:53 +05:30