Documentation
¶
Overview ¶
parse/m3u8.go
Index ¶
Constants ¶
View Source
const ( PlaylistTypeVOD PlaylistType = "VOD" PlaylistTypeEvent PlaylistType = "EVENT" CryptMethodAES CryptMethod = "AES-128" CryptMethodNONE CryptMethod = "NONE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptMethod ¶
type CryptMethod string
type Key ¶
type Key struct { Method CryptMethod URI string IV string }
type M3u8 ¶
type M3u8 struct { Version int8 // EXT-X-VERSION:version MediaSequence uint64 // Default 0, #EXT-X-MEDIA-SEQUENCE:sequence Segments []*Segment MasterPlaylist []*MasterPlaylist Keys map[int]*Key EndList bool // #EXT-X-ENDLIST PlaylistType PlaylistType // VOD or EVENT TargetDuration float64 // #EXT-X-TARGETDURATION:duration }
type MasterPlaylist ¶
type PlaylistType ¶
type PlaylistType string
Click to show internal directories.
Click to hide internal directories.