RTCSctpTransport class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport. This provides information about limitations of the transport, but also provides a way to access the underlying Datagram Transport Layer Security (DTLS) transport over which SCTP packets for all of an RTCPeerConnection's data channels are sent and received. You don't create objects yourself; instead, you get access to the for a given RTCPeerConnection through its sctp property. Possibly the most useful property on this interface is its maxMessageSize property, which you can use to determine the upper limit on the size of messages you can send over a data channel on the peer connection.

EventTarget

RTCSctpTransport

Implemented types
Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

RTCSctpTransport()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
maxChannels int?

Available on RTCSctpTransport, provided by the PropsRTCSctpTransport extension

no setter
maxMessageSize → dynamic

Available on RTCSctpTransport, provided by the PropsRTCSctpTransport extension

no setter
onstatechange EventHandlerNonNull<Event>?

Available on RTCSctpTransport, provided by the PropsRTCSctpTransport extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state RTCSctpTransportState

Available on RTCSctpTransport, provided by the PropsRTCSctpTransport extension

no setter
transport RTCDtlsTransport

Available on RTCSctpTransport, provided by the PropsRTCSctpTransport extension

no setter

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

dispatchEvent(Event event) bool

Available on EventTarget, provided by the PropsEventTarget extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited