Trait frame_source::h264_source::SeekableH264Source
source · pub trait SeekableH264Source {
type NalLocation;
// Required methods
fn nal_boundaries(&mut self) -> &[Self::NalLocation];
fn read_nal(&mut self, location: &Self::NalLocation) -> Result<Vec<u8>>;
// Provided method
fn read_nals(
&mut self,
locations: &[Self::NalLocation]
) -> Result<Vec<Vec<u8>>> { ... }
}