RTCDataChannel class
The interface represents a network channel which can be used for
bidirectional peer-to-peer transfers of arbitrary data. Every
data channel is associated with an RTCPeerConnection, and each
peer connection can have up to a theoretical maximum of 65,534
data channels (the actual limit may vary from browser to
browser).
To create a data channel and ask a remote peer to join you, call
the RTCPeerConnection's createDataChannel()
method. The peer
being invited to exchange data receives a datachannel
event
(which has type RTCDataChannelEvent) to let it know the data
channel has been added to the connection.
EventTarget
RTCDataChannel
- Implemented types
- Available Extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- RTCDataChannel()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited