pub struct HlsConfig {
pub segment_duration: u32,
pub playlist_size: u32,
pub playlist_type: HlsPlaylistType,
pub segment_filename: Option<String>,
}Expand description
HLS output configuration.
Fields§
§segment_duration: u32Segment duration in seconds (default: 6).
playlist_size: u32Number of segments in playlist (0 = all).
playlist_type: HlsPlaylistTypePlaylist type.
segment_filename: Option<String>Segment filename pattern (default: “segment_%03d.ts”).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HlsConfig
impl<'de> Deserialize<'de> for HlsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze 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