mediastream-rs
A library for parsing and generating m3u8 file.
Installation
cargo add mediastream-rs
or,
= "*"
Usage
use Parser;
use Cursor;
// 1. Parse
let mut parser = new;
parser.parse.unwrap;
let result = parser.get_playlist;
// Do your works with result...
// 2. Generate
println!;
Why make new wheels?
The existing crates do not meet my needs; they can either only parse m3u8 from a certain path (online or local) or cannot output the parsed m3u8 file back to m3u8.
License
MIT