rtc_data_channel library

Classes

RTCDataChannel
A class that represents a WebRTC datachannel. Can send and receive text and binary messages.
RTCDataChannelInit
Initialization parameters for RTCDataChannel.
RTCDataChannelMessage
A class that represents a datachannel message. Can either contain binary data as a Uint8List or text data as a String.

Typedefs

RTCDataChannelOnMessageCallback = void Function(RTCDataChannelMessage message)
RTCDataChannelStateCallback = void Function(RTCDataChannelState state)