hls_m3u8

Crates.io: hls_m3u8 Documentation Build Status Code Coverage License: Apache OR License: MIT

[HLS] m3u8 parser/generator.

Documentation

Examples

```rust use hls_m3u8::MediaPlaylist;

let m3u8 = "#EXTM3U

EXT-X-TARGETDURATION:10

EXT-X-VERSION:3

EXTINF:9.009,

http://media.example.com/first.ts

EXTINF:9.009,

http://media.example.com/second.ts

EXTINF:3.003,

http://media.example.com/third.ts

EXT-X-ENDLIST";

assert!(m3u8.parse::().is_ok()); ```

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.