hls_center

package
v0.55.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Center

type Center struct {
	// contains filtered or unexported fields
}

func NewCenter

func NewCenter(logger *logrus.Logger) *Center

func (*Center) WritePlaylist

func (c *Center) WritePlaylist(urlTemplate string, videoFileFPath string, w io.Writer) error

WritePlaylist 构建 m3u8 文件

func (*Center) WriteSegment

func (c *Center) WriteSegment(videoFileFPath string, segmentIndex int64, resolution int64, w io.Writer) error

WriteSegment 构建 ts 文件

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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