Skip to content

five-on-it / apps/client/src/renderer/rtc / RTC_CLIENT

Variable: RTC_CLIENT ​

const RTC_CLIENT: object

Defined in: apps/client/src/renderer/rtc.ts:40

The page's waits.

Type Declaration ​

connectTimeoutMs ​

readonly connectTimeoutMs: 8000 = 8000

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

healthyAfterMs ​

readonly healthyAfterMs: 60000 = 60_000

A channel open this long was well: the waits start over (ms).

retryMs ​

readonly retryMs: readonly [3000, 60000]

The first wait before offering again after a channel that had opened, and the longest (ms).

silenceMs ​

readonly silenceMs: 1500 = 1500

Silence on an open channel that means it is gone (ms).

watchMs ​

readonly watchMs: 100 = 100

How often the silence is checked (ms).