m3u8

package
v1.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlaylistType added in v1.7.11

type PlaylistType string
const (
	PlaylistTypeLive  PlaylistType = ""
	PlaylistTypeEvent PlaylistType = "EVENT"
)

type PlaylistWriter

type PlaylistWriter interface {
	Append(dateTime time.Time, duration float64, filename string) error
	Close() error
}

func NewEventPlaylistWriter added in v1.7.11

func NewEventPlaylistWriter(filename string, targetDuration int) (PlaylistWriter, error)

func NewLivePlaylistWriter added in v1.7.11

func NewLivePlaylistWriter(filename string, targetDuration int, windowSize int) (PlaylistWriter, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL