let myState = dtlsTransport.state;
A string. Its value is one of the following:
The initial state when DTLS has not started negotiating yet.
DTLS is in the process of negotiating a secure connection and verifying the remote fingerprint.
DTLS has completed negotiation of a secure connection and verified the remote fingerprint.
The transport has been closed intentionally as the result of receipt of a
close_notifyalert, or calling
The transport has failed as the result of an error (such as receipt of an error alert or failure to validate the remote fingerprint).
RTCDtlsTransport for example code.
|WebRTC 1.0: Real-Time Communication Between Browsers (WebRTC 1.0)|
BCD tables only load in the browser