pub enum HlsSegmentFormat {
Ts,
Fmp4,
}Expand description
Container format for individual HLS segments.
Passed to HlsOutput::segment_format and
LiveHlsOutput::segment_format.
Variants§
Ts
Legacy MPEG-TS segments (.ts). This is the default.
Fmp4
fMP4 / CMAF segments (.m4s) with a separate initialization segment
(init.mp4). The .m3u8 playlist includes an #EXT-X-MAP:URI="init.mp4"
tag written automatically by the FFmpeg HLS muxer.
Trait Implementations§
Source§impl Clone for HlsSegmentFormat
impl Clone for HlsSegmentFormat
Source§fn clone(&self) -> HlsSegmentFormat
fn clone(&self) -> HlsSegmentFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HlsSegmentFormat
impl Debug for HlsSegmentFormat
Source§impl Default for HlsSegmentFormat
impl Default for HlsSegmentFormat
Source§fn default() -> HlsSegmentFormat
fn default() -> HlsSegmentFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for HlsSegmentFormat
impl PartialEq for HlsSegmentFormat
impl Copy for HlsSegmentFormat
impl Eq for HlsSegmentFormat
impl StructuralPartialEq for HlsSegmentFormat
Auto Trait Implementations§
impl Freeze for HlsSegmentFormat
impl RefUnwindSafe for HlsSegmentFormat
impl Send for HlsSegmentFormat
impl Sync for HlsSegmentFormat
impl Unpin for HlsSegmentFormat
impl UnsafeUnpin for HlsSegmentFormat
impl UnwindSafe for HlsSegmentFormat
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