RTCSctpTransport.state

Draft: This page is not complete.

Experimental: 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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
state
76
79
No
No
No
No
76
76
No
54
No
12.0

See also

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCSctpTransport/state