mediastream-rs 0.1.2

A library for parsing and generating m3u8 file
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use smol_str::SmolStr;
use std::collections::HashMap;

use crate::format::M3uMedia;

#[derive(Default)]
pub struct M3uPlaylist {
    /// Title of this playlist
    pub title: Option<SmolStr>,
    /// Attributes of this playlist
    pub attributes: HashMap<SmolStr, SmolStr>,
    /// Medias of this playlist
    pub medias: Vec<M3uMedia>,
}