Skip to content

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

Interface: RtcSettings ​

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

The channel's settings.

Properties ​

addresses ​

addresses: string[]

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

The local addresses to gather on (empty: all of them).


maxPeers ​

maxPeers: number

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

The most channels the process holds.


on ​

on: boolean

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

Whether the server offers the channel at all.


ports ​

ports: [number, number]

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

The UDP ports, first and last.


publicIp ​

publicIp: string | undefined

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

The address announced instead of the local one.