1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2026-05-15 04:38:15 +00:00
HLS(RFC8216) m3u8 parser/generator
Find a file
2026-05-06 23:52:38 +09:00
.github/workflows fix: guard benchmark example behind cfg(not(feature = "chrono")) 2026-05-06 22:53:43 +09:00
examples fix: guard benchmark example behind cfg(not(feature = "chrono")) 2026-05-06 22:53:43 +09:00
src refactor: replace derive_builder with manual builder implementations 2026-05-06 23:48:58 +09:00
tests refactor: remove pretty_assertions dependency 2026-05-06 22:47:24 +09:00
.gitignore more tests #25 + better docs #31 2019-10-03 18:01:53 +02:00
Cargo.toml chore: bump version to 0.7.0 2026-05-06 23:52:38 +09:00
LICENSE-APACHE Add Apache 2.0 license 2019-09-09 20:05:27 +09:00
LICENSE-MIT Add Apache 2.0 license 2019-09-09 20:05:27 +09:00
README.md docs: update README formatting and structure 2026-05-06 22:03:43 +09:00

hls_m3u8

hls_m3u8 Documentation Actions Status License

HLS m3u8 parser/generator.

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.