Skip to content

five-on-it / packages/protocol/src/rtc / RTC_CHANNEL

Variable: RTC_CHANNEL ​

const RTC_CHANNEL: object

Defined in: packages/protocol/src/rtc.ts:23

The data channel both ends create: negotiated out of band on id 0 (no in-band open message, no wait for it), unordered and never retransmitted, so a frame lost is lost and a late one never holds up the next.

Type Declaration ​

id ​

readonly id: 0 = 0

label ​

readonly label: "game" = 'game'

maxRetransmits ​

readonly maxRetransmits: 0 = 0

negotiated ​

readonly negotiated: true = true

ordered ​

readonly ordered: false = false