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

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

BCD tables only load in the browser

See also