RTCSctpTransport: state property
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since May 2023.
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
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
state
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support