RTCTransportStats: dtlsState property

Baseline 2026
Newly available

Since July 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The dtlsState property of the RTCTransportStats dictionary is a string that indicates the current state of the underlying RTCDtlsTransport.

This has the same value as the corresponding RTCDtlsTransport.state property.

Value

A string that will be one of the following values: new, connecting, connected, closed, failed.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtctransportstats-dtlsstate

Browser compatibility