DataChannelReceiveOptions

Configuration options for creating a Channel. This class is used to configure the incoming messages channel in WebRtcDataChannel.

See also

Channel

constructor documentation for more details.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The capacity of the channel buffer. Default is Channel.UNLIMITED.

Link copied to clipboard
var onBufferOverflow: BufferOverflow

The behavior when the channel buffer is full.

Link copied to clipboard

An optional callback that is invoked when an element couldn't be delivered to its destination. This can happen when the channel is closed or when an element is dropped due to buffer overflow.