five-on-it / apps/server/src/rtc-settings / RTC_LIMITS
Variable: RTC_LIMITS
constRTC_LIMITS:object
Defined in: apps/server/src/rtc-settings.ts:24
The channel's limits that no switch sets.
Type Declaration
connectTimeoutMs
readonlyconnectTimeoutMs:8000=8000
How long a channel has to open from its offer (ms).
maxHandshakes
readonlymaxHandshakes:8=8
The most handshakes the worker runs at once (the next offers wait their turn).
maxPeers
readonlymaxPeers:128=128
The most channels a process holds when FOI_RTC_MAX_PEERS says nothing.