Module m3u8_rs::playlist[][src]

Expand description

Contains all the structs used for parsing.

The main type here is the Playlist enum. Which is either a MasterPlaylist or a MediaPlaylist.

Structs

[#EXT-X-MEDIA:<attribute-list>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.4.1)

[#EXT-X-BYTERANGE:<n>[@<o>]] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.2.2)

[#EXT-X-DATERANGE:<attribute-list>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.2.7)

A simple #EXT- tag

[#EXT-X-KEY:<attribute-list>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.2.4)

[#EXT-X-MAP:<attribute-list>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.2.5)

A [Master Playlist] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.4) provides a set of Variant Streams, each of which describes a different version of the same content.

A [Media Playlist] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.3) contains a list of Media Segments, which when played sequentially will play the multimedia presentation.

A Media Segment is specified by a URI and optionally a byte range.

[#EXT-X-SESSION-DATA:<attribute-list>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.4.4) The EXT-X-SESSION-DATA tag allows arbitrary session data to be carried in a Master Playlist.

[#EXT-X-SESSION-KEY:<attribute-list>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.4.5) The EXT-X-SESSION-KEY tag allows encryption keys from Media Playlists to be specified in a Master Playlist. This allows the client to preload these keys without having to read the Media Playlist(s) first.

[#EXT-X-START:<attribute-list>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.5.2)

[#EXT-X-STREAM-INF:<attribute-list> <URI>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.4.2) [#EXT-X-I-FRAME-STREAM-INF:<attribute-list>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.4.3)

Enums

[#EXT-X-PLAYLIST-TYPE:<EVENT|VOD>] (https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.3.5)

Playlist, can either be a MasterPlaylist or a MediaPlaylist.