First connect timeout
app/lib/lc/chime-session-tuning.ts, line 41
Repository rr7
* and an SDP round trip, and the SDK's default 15 s spends its budget on the last of those. 30 s buys a longer
* spinner in exchange for a join that completes; the person is looking at a lobby that says
* "connecting", not at a blank screen.
*/
const CONNECTION_TIMEOUT_MS = 30_000;
/**
* The SDK gives up reconnecting after two minutes. Our participants lose the line to a power
* cut, a basement, or a tower handover, and those outlast two minutes routinely. Five minutes
* is the difference between resuming the lesson and rejoining it. Measured cost of getting
* this wrong: 240 reconnects across 90 calls already succeed, so the SDK's own retry is the
* mechanism that works and this only widens the window it is allowed to work in.
*/
const RECONNECT_TIMEOUT_MS = 300_000;