#hls #m3u8

hls_m3u8

HLS m3u8 parser/generator

7 releases

✓ Uses Rust 2018 edition

new 0.2.1 Sep 9, 2019
0.2.0 Aug 15, 2019
0.1.4 Jun 15, 2019
0.1.3 Oct 10, 2018
0.1.1 Feb 23, 2018

#52 in Video

Download history 24/week @ 2019-05-25 10/week @ 2019-06-01 14/week @ 2019-06-08 24/week @ 2019-06-15 88/week @ 2019-06-22 11/week @ 2019-06-29 57/week @ 2019-07-06 3/week @ 2019-07-13 10/week @ 2019-07-20 7/week @ 2019-07-27 31/week @ 2019-08-03 40/week @ 2019-08-10 59/week @ 2019-08-17 63/week @ 2019-08-24 34/week @ 2019-08-31

147 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

165KB
4K SLoC

hls_m3u8

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

HLS m3u8 parser/generator.

Documentation

Examples

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::<MediaPlaylist>().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.

Dependencies

~1MB
~26K SLoC