Crates.io | hls_m3u8 |
lib.rs | hls_m3u8 |
version | 0.4.2 |
source | src |
created_at | 2018-02-14 20:28:25.099375 |
updated_at | 2024-09-06 12:45:56.69236 |
description | HLS m3u8 parser/generator |
homepage | https://github.com/sile/hls_m3u8 |
repository | https://github.com/sile/hls_m3u8 |
max_upload_size | |
id | 51196 |
size | 464,769 |
HLS m3u8 parser/generator.
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());
Licensed under either of
at your option.
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.