Versions in this module Expand all Collapse all v1 v1.1.0 Jan 19, 2021 v1.0.0 Jan 9, 2021 Changes in this version + type Playlist struct + func NewPlaylist() *Playlist + func (pl *Playlist) Close() error + func (pl *Playlist) LastAccessTime() time.Time + func (pl *Playlist) M3u8(token string) ([]byte, error) + func (pl *Playlist) Segment(seq int) (io.Reader, int, error) + type SegmentGenerator struct + func NewSegmentGenerator(playlist *Playlist, path string, hlsFragment int, segmentPath string, ...) (*SegmentGenerator, error) + func (sg *SegmentGenerator) Close() error + func (sg *SegmentGenerator) WriteMpegtsFrame(frame *mpegts.Frame) (err error)