RTCSctpTransport.state

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

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
state
Experimental
Chrome Full support 76Edge Full support 79Firefox No support No
Notes
No support No
Notes
Notes See bug 1278299.
IE No support NoOpera No support NoSafari No support NoWebView Android Full support 76Chrome Android Full support 76Firefox Android No support No
Notes
No support No
Notes
Notes See bug 1278299.
Opera Android Full support 54Safari iOS No support NoSamsung 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.

See also