getDroppedToKeyframeCount

com.google.android.exoplayer2.ExoPlayer extension function that calculates the DK (Dropped to Keyframe Count).

  • The number of times all buffers to a keyframe were dropped. Each time buffers to a keyframe are dropped, this counter is increased by one, and the dropped buffer counters are increased by one (for the current output buffer) plus the number of buffers dropped from the source to advance to the keyframe.