Skip to main content

sniff_keyframe

Function sniff_keyframe 

Source
pub fn sniff_keyframe(codec: Codec, data: &[u8]) -> Option<bool>
Expand description

Whether an encoded frame is a key frame, read from the bitstream itself: every codec here declares it in its first bytes or NAL types.