moonbitstack/moonmedia/m3u8 does not have a README file
pub(all) suberror PlaylistError {
Malformed(at~ : Int, want~ : String, got~ : String)
}impl Show for PlaylistErrorpub(all) struct IFrameStream {
uri : String
bandwidth : Int?
average_bandwidth : Int?
codecs : String?
resolution : Resolution?
hdcp_level : String?
video_range : String?
pathway_id : String?
stable_variant_id : String?
extra : Array[String]
} derive(Eq, Debug)pub(all) struct Master {
version : Int?
independent_segments : Bool
start : Start?
defines : Array[Define]
session_data : Array[SessionData]
session_keys : Array[Key]
renditions : Array[Rendition]
variants : Array[Variant]
i_frame_streams : Array[IFrameStream]
unknown : Array[String]
} derive(Eq, Debug)pub(all) struct MediaPlaylist {
version : Int?
target_duration : Int
media_sequence : Int64
discontinuity_sequence : Int64
playlist_type : PlaylistType?
i_frames_only : Bool
independent_segments : Bool
allow_cache : Bool?
end_list : Bool
start : Start?
server_control : ServerControl?
part_inf : Double?
skip : Int?
defines : Array[Define]
date_ranges : Array[DateRange]
segments : Array[Segment]
next_parts : Array[Part]
preload_hint : PreloadHint?
rendition_reports : Array[RenditionReport]
unknown : Array[String]
} derive(Eq, Debug)fn PreloadHint::new(kind : String, uri : String, byte_range? : ByteRange, start? : Int64) -> PreloadHintpub(all) struct Rendition {
kind : MediaKind
group_id : String
name : String
uri : String?
language : String?
assoc_language : String?
characteristics : String?
channels : String?
instream_id : String?
stable_rendition_id : String?
pathway_id : String?
default : Bool
autoselect : Bool
forced : Bool
extra : Array[String]
} derive(Eq, Debug)fn SessionData::new(data_id : String, value? : String, uri? : String, language? : String) -> SessionDatapub(all) struct Variant {
uri : String
bandwidth : Int?
average_bandwidth : Int?
codecs : String?
resolution : Resolution?
frame_rate : Double?
hdcp_level : String?
audio : String?
video : String?
subtitles : String?
closed_captions : String?
video_range : String?
pathway_id : String?
stable_variant_id : String?
extra : Array[String]
} derive(Eq, Debug)Install
Download zipStreaming playlists and containers for MoonBit: m3u8, MPD, MPEG-TS, fMP4 and RTMP.