pub struct ProgressiveMux {
pub faststart: bool,
}Expand description
Package a Media into a single-file, non-fragmented .mp4.
Implements broadcast_common::Package with Output = Vec<u8>: the whole
file is returned as one byte vector (ftyp + moov + mdat).
Fields§
§faststart: boolWhen true, place moov before mdat (progressive-download friendly).
When false, mdat precedes moov.
Implementations§
Trait Implementations§
Source§impl Clone for ProgressiveMux
impl Clone for ProgressiveMux
Source§fn clone(&self) -> ProgressiveMux
fn clone(&self) -> ProgressiveMux
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgressiveMux
impl Debug for ProgressiveMux
Source§impl Default for ProgressiveMux
impl Default for ProgressiveMux
Source§fn default() -> ProgressiveMux
fn default() -> ProgressiveMux
Returns the “default value” for a type. Read more
Source§impl Package for ProgressiveMux
impl Package for ProgressiveMux
Auto Trait Implementations§
impl Freeze for ProgressiveMux
impl RefUnwindSafe for ProgressiveMux
impl Send for ProgressiveMux
impl Sync for ProgressiveMux
impl Unpin for ProgressiveMux
impl UnsafeUnpin for ProgressiveMux
impl UnwindSafe for ProgressiveMux
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