DataChannelEvent

sealed interface DataChannelEvent(source)

Events that can be emitted by a WebRTC data channel.

See also

Inheritors

Types

Link copied to clipboard

Fired when the buffered amount of data falls below the threshold.

Link copied to clipboard

Fired when the data channel has closed.

Link copied to clipboard

Fired when the data channel is closing.

Link copied to clipboard
class Error(val channel: WebRtcDataChannel, val reason: String) : DataChannelEvent

Fired when an error occurs on the data channel.

Link copied to clipboard

Fired when the data channel becomes open and ready to be used.

Properties

Link copied to clipboard