Skip to content

five-on-it / apps/server/src/rtc-settings / RTC_LIMITS

Variable: RTC_LIMITS ​

const RTC_LIMITS: object

Defined in: apps/server/src/rtc-settings.ts:24

The channel's limits that no switch sets.

Type Declaration ​

connectTimeoutMs ​

readonly connectTimeoutMs: 8000 = 8000

How long a channel has to open from its offer (ms).

maxHandshakes ​

readonly maxHandshakes: 8 = 8

The most handshakes the worker runs at once (the next offers wait their turn).

maxPeers ​

readonly maxPeers: 128 = 128

The most channels a process holds when FOI_RTC_MAX_PEERS says nothing.