This feature is not Baseline because it does not work in some of the most widely-used browsers.
The keyFramesDecoded property of the RTCInboundRtpStreamStats dictionary represents the total number of key frames successfully decoded in this RTP media stream. This includes, for example, key frames in VP8 (RFC 6386) or IDR-frames in H.264 (RFC 6184).
Note that the number of delta frames is calculated by subtracting this value from the total number of frames (framesDecoded - keyFramesEncoded).
Note: The property is undefined for audio streams.
A positive integer.
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcinboundrtpstreamstats-keyframesdecoded> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
keyFramesDecoded |
79 | 79 | 142 | 66 | No | 79 | 142 | 57 | No | 12.0 | 79 | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCInboundRtpStreamStats/keyFramesDecoded