Web/API/RTCSctpTransport/state

From Get docs

Draft This page is not complete.


This is an experimental technologyCheck 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 BrowsersThe definition of 'RTCSctpTransport.state' in that specification. Candidate Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet

state

Experimental'

Chrome

Full support 76

Edge

Full support 79

Firefox No support No

Notes'

No support No

Notes'

Notes' See bug 1278299.

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

Notes'

No support No

Notes'

Notes' See bug 1278299.

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.


See also