Draft
This page is not complete.
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The state
read-only property of the RTCSctpTransport
interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport state.
Syntax
var myState = sctpTransport.state;
Value
A string whose value is taken from the RTCSctpTransportState
enumerated type. Its value is one of the following:
connecting
- The initial state when the connection is being estabilished.
connected
- The connection is open for data transmission.
closed
- The connection is closed and can no longer be used.
Specifications
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCSctpTransport.state' in that specification. |
Candidate Recommendation | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
state | Chrome Full support 76 | Edge Full support 79 | Firefox
No support
No
| IE No support No | Opera No support No | Safari No support No | WebView Android Full support 76 | Chrome Android Full support 76 | Firefox Android
No support
No
| Opera Android Full support 54 | Safari iOS No support No | Samsung Internet Android Full support 12.0 |
Legend
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.
- See implementation notes.
- See implementation notes.