RTCSctpTransport: state property
        
        
          
                Baseline
                
                  2023
                
                
              
        
        Newly available
        
          
                
              
                
              
                
              
        
        
      
      Since May 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The state read-only property of the RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport state.
Value
A string whose value is one of the following:
- connecting
- 
The initial state when the connection is being established. 
- connected
- 
The connection is open for data transmission. 
- closed
- 
The connection is closed and can no longer be used. 
Specifications
| Specification | 
|---|
| WebRTC: Real-Time Communication in Browsers> # dom-rtcsctptransport-state> | 
Browser compatibility
Loading…