RTCSctpTransport: state property

Baseline 2023
Newly available

Since May 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The state read-only property of the RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport state.

Value

A string whose value is one of the following:

connecting

The initial state when the connection is being established.

connected

The connection is open for data transmission.

closed

The connection is closed and can no longer be used.

Specifications

Specification
WebRTC: Real-Time Communication in Browsers
# dom-rtcsctptransport-state

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
state

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also