pub struct Mp4StreamingDemuxer { /* private fields */ }Trait Implementations§
Source§impl StreamingDemuxer for Mp4StreamingDemuxer
impl StreamingDemuxer for Mp4StreamingDemuxer
Source§fn header(&self) -> &DemuxHeader
fn header(&self) -> &DemuxHeader
Header info parsed from the container header. Cheap to call —
returns a borrow of the cached
DemuxHeader populated at
construction time.Source§fn next_video_sample(&mut self) -> Result<Option<Sample>>
fn next_video_sample(&mut self) -> Result<Option<Sample>>
Pull the next video sample. Returns
Ok(None) at EOF.
Allocates a fresh Vec per sample; nothing is retained
internally beyond the reader’s per-format cursor state.Source§fn audio(&self) -> Option<&AudioTrack>
fn audio(&self) -> Option<&AudioTrack>
Audio is a single buffered slab populated at construction time
(Squad-18/23/27 passthrough pattern). Streaming audio is out of
scope for this sprint per the pinned design.
Auto Trait Implementations§
impl Freeze for Mp4StreamingDemuxer
impl RefUnwindSafe for Mp4StreamingDemuxer
impl Send for Mp4StreamingDemuxer
impl Sync for Mp4StreamingDemuxer
impl Unpin for Mp4StreamingDemuxer
impl UnsafeUnpin for Mp4StreamingDemuxer
impl UnwindSafe for Mp4StreamingDemuxer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more