pub struct HlsConfig {
pub segment_duration: Duration,
pub segment_count: usize,
pub live: bool,
}Expand description
HLS configuration.
Fields§
§segment_duration: DurationTarget segment duration.
segment_count: usizeNumber of segments to keep in the sliding window.
live: boolWhether this is a live or VOD stream.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for HlsConfig
impl Freeze for HlsConfig
impl Move for HlsConfig
impl RefUnwindSafe for HlsConfig
impl Send for HlsConfig
impl Sync for HlsConfig
impl Unpin for HlsConfig
impl UnsafeUnpin for HlsConfig
impl UnwindSafe for HlsConfig
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