Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: WebRTCDataChannelOptions

@roomful/core


@roomful/core / WebRTCDataChannelOptions

Defined in: packages/core/src/types.ts:36

Configures the RTC data channel used by the WebRTC transport.

optional maxRetransmits: number

Defined in: packages/core/src/types.ts:45

Caps retransmission attempts for unreliable channels.


optional ordered: boolean

Defined in: packages/core/src/types.ts:40

Preserves message ordering when true.


optional protocol: string

Defined in: packages/core/src/types.ts:50

Sets the negotiated protocol label for the data channel.