pub struct MultiVariantPlaylist {
pub variant_streams: Vec<VariantStream>,
pub frame_streams: Vec<FrameStream>,
}Expand description
Master playlist that lists multiple variant streams of the same content
Fields§
§variant_streams: Vec<VariantStream>These lines define the variant streams. Each line represents a different version of the same content, encoded at different bitrates and resolutions. This allows the player to dynamically switch between streams based on the user’s network conditions, a feature known as Adaptive Bitrate Streaming (ABR)
frame_streams: Vec<FrameStream>These lines provide information about the I-frame streams. I-frames are keyframes in the video that contain the complete image information. These streams allow for faster seeking and trick play.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MultiVariantPlaylist
impl RefUnwindSafe for MultiVariantPlaylist
impl Send for MultiVariantPlaylist
impl Sync for MultiVariantPlaylist
impl Unpin for MultiVariantPlaylist
impl UnwindSafe for MultiVariantPlaylist
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