RTCOutboundRtpStreamStats: keyFramesEncoded property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The keyFramesEncoded property of the RTCOutboundRtpStreamStats dictionary represents the total number of key frames successfully encoded 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 (framesEncoded - keyFramesEncoded).

Note: The value does not exist for audio.

Value

A positive integer.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcoutboundrtpstreamstats-keyframesencoded

Browser compatibility

BCD tables only load in the browser