RTCCertificateStats: type property
Baseline
2026
Newly available
Since August 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The type property of the RTCCertificateStats dictionary is a string with the value "certificate".
Different statistics are obtained by iterating the RTCStatsReport object returned by a call to RTCPeerConnection.getStats().
The type indicates the set of statistics available through the object in a particular iteration step.
A value of "certificate" indicates that the statistics available in the current step are those defined in RTCCertificateStats.
Value
A string with the value "certificate".
Specifications
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcstats-type> |