pub fn is_keyframe(track: &Demuxed, i: usize) -> boolAvailable on crate feature
decode only.Expand description
Whether sample i can be decoded on its own: an IDR picture (H.264), an
IRAP one (HEVC), a key frame (VP9), or a temporal unit opening with a
sequence header or a key frame (AV1). WebCodecs wants the first chunk after
a configure or reset to be one, and a decoder can start at any.