RTCSctpTransport.state

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

Specification
WebRTC 1.0: Real-Time Communication Between Browsers (WebRTC 1.0)
# dom-rtcsctptransport-state

Browser compatibility

BCD tables only load in the browser

See also