pub enum StreamPlan {
Single {
url: String,
codec: Codec,
},
Segmented {
init_url: String,
segments: Vec<Segment>,
codec: Codec,
},
}Expand description
Where a track’s bytes are.
Variants§
Single
One file (BTS manifest), fetched with HTTP Range requests.
Segmented
MPEG-DASH: the init segment, then segments in order, joined.
Implementations§
Trait Implementations§
Source§impl Clone for StreamPlan
impl Clone for StreamPlan
Source§impl Debug for StreamPlan
impl Debug for StreamPlan
impl Eq for StreamPlan
Source§impl PartialEq for StreamPlan
impl PartialEq for StreamPlan
impl StructuralPartialEq for StreamPlan
Auto Trait Implementations§
impl Freeze for StreamPlan
impl RefUnwindSafe for StreamPlan
impl Send for StreamPlan
impl Sync for StreamPlan
impl Unpin for StreamPlan
impl UnsafeUnpin for StreamPlan
impl UnwindSafe for StreamPlan
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