Struct hls_m3u8::tags::ExtXStart [−][src]
pub struct ExtXStart { /* fields omitted */ }
Expand description
This tag indicates a preferred point at which to start playing a Playlist.
By default, clients should start playback at this point when beginning a playback session.
Implementations
The time offset of the MediaSegment
s in the playlist.
Example
use hls_m3u8::types::Float; let mut start = ExtXStart::new(Float::new(20.123456)); start.set_time_offset(Float::new(1.0)); assert_eq!(start.time_offset(), Float::new(1.0));
The time offset of the MediaSegment
s in the playlist.
Example
use hls_m3u8::types::Float; let mut start = ExtXStart::new(Float::new(20.123456)); start.set_time_offset(Float::new(1.0)); assert_eq!(start.time_offset(), Float::new(1.0));
Whether clients should not render media stream whose presentation times are prior to the specified time offset.
Example
use hls_m3u8::types::Float; let mut start = ExtXStart::new(Float::new(20.123456)); start.set_is_precise(true); assert_eq!(start.is_precise(), true);
Whether clients should not render media stream whose presentation times are prior to the specified time offset.
Example
use hls_m3u8::types::Float; let mut start = ExtXStart::new(Float::new(20.123456)); start.set_is_precise(true); assert_eq!(start.is_precise(), true);
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ExtXStart
impl UnwindSafe for ExtXStart
Blanket Implementations
Mutably borrows from an owned value. Read more