Interface: WebRTCDataChannelOptions
@roomful/core / WebRTCDataChannelOptions
Interface: WebRTCDataChannelOptions
Section titled “Interface: WebRTCDataChannelOptions”Defined in: packages/core/src/types.ts:36
Configures the RTC data channel used by the WebRTC transport.
Properties
Section titled “Properties”maxRetransmits?
Section titled “maxRetransmits?”
optionalmaxRetransmits:number
Defined in: packages/core/src/types.ts:45
Caps retransmission attempts for unreliable channels.
ordered?
Section titled “ordered?”
optionalordered:boolean
Defined in: packages/core/src/types.ts:40
Preserves message ordering when true.
protocol?
Section titled “protocol?”
optionalprotocol:string
Defined in: packages/core/src/types.ts:50
Sets the negotiated protocol label for the data channel.