pub struct GroupConsumer<F: Container> { /* private fields */ }Expand description
Decode a single [moq_net::group::Consumer] into a finite stream of media Frames.
This is the group-scoped counterpart to Consumer. Where that one
subscribes to a track and juggles group ordering, age skipping, and rewinds, this one
reads exactly the group it was handed, in arrival order, and ends. That is what a caller
wants after a FETCH, a group already chosen by start, or for a live group taken from
recv_group, whose frames return as they land.
A batch of frames decoded from one wire frame (a CMAF fragment carrying several samples) is handed back one frame at a time.
Implementations§
Source§impl<F: Container> GroupConsumer<F>
impl<F: Container> GroupConsumer<F>
Auto Trait Implementations§
impl<F> Freeze for GroupConsumer<F>
impl<F> RefUnwindSafe for GroupConsumer<F>
impl<F> Send for GroupConsumer<F>where
F: Send,
impl<F> Sync for GroupConsumer<F>where
F: Sync,
impl<F> Unpin for GroupConsumer<F>where
F: Unpin,
impl<F> UnsafeUnpin for GroupConsumer<F>
impl<F> UnwindSafe for GroupConsumer<F>
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