Struct hls_m3u8::MediaPlaylistOptions[][src]

pub struct MediaPlaylistOptions { /* fields omitted */ }

Media playlist options.

Methods

impl MediaPlaylistOptions
[src]

Makes a new MediaPlaylistOptions with the default settings.

Important traits for &'a mut R

Sets the allowable excess duration of each media segment in the associated playlist.

If there is a media segment of which duration exceeds #EXT-X-TARGETDURATION + allowable_excess_duration, the invocation of MediaPlaylistBuilder::finish() method will fail.

The default value is Duration::from_secs(0).

Parses the given M3U8 text with the specified settings.

Trait Implementations

impl Debug for MediaPlaylistOptions
[src]

Formats the value using the given formatter. Read more

impl Clone for MediaPlaylistOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for MediaPlaylistOptions
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations