hlschannel

package
v0.0.0-...-5b342f9 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Name      string
	VideoPath string
}

Channel : single channel structure

func (*Channel) Compile

func (channel *Channel) Compile(cacheFolder string) (err error)

Compile : for each single channel, encode to m3u8 playlist and ts frame and run streaming

type ChannelList

type ChannelList []Channel

ChannelList : group of Channel structure

func (*ChannelList) Compile

func (channelList *ChannelList) Compile(cacheFolder string) (err error)

Compile : compile group of channel into m3u playlist index

Jump to

Keyboard shortcuts

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