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)
Click to show internal directories.
Click to hide internal directories.