videoworker

package
v0.0.0-...-27de488 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: LGPL-2.1 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartProcessVideo

func StartProcessVideo(LiveTrace monitor.LiveTrace, Monitor monitor.VideoMonitor, Plugins PluginManager)

Types

type LiveTitleHistoryEntry

type LiveTitleHistoryEntry struct {
	Title     string
	StartTime time.Time
}

type PluginCallback

type PluginCallback interface {
	LiveStart(p *ProcessVideo) error
	DownloadStart(p *ProcessVideo) error
	LiveEnd(p *ProcessVideo) error
}

type PluginManager

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

func (*PluginManager) AddPlugin

func (p *PluginManager) AddPlugin(plug PluginCallback)

func (*PluginManager) OnDownloadStart

func (p *PluginManager) OnDownloadStart(video *ProcessVideo)

func (*PluginManager) OnLiveEnd

func (p *PluginManager) OnLiveEnd(video *ProcessVideo)

func (*PluginManager) OnLiveStart

func (p *PluginManager) OnLiveStart(video *ProcessVideo)

type ProcessVideo

type ProcessVideo struct {
	LiveStatus   *interfaces.LiveStatus
	TitleHistory []LiveTitleHistoryEntry

	LiveTrace monitor.LiveTrace
	Monitor   monitor.VideoMonitor
	Plugins   PluginManager
	// contains filtered or unexported fields
}

func (*ProcessVideo) StartProcessVideo

func (p *ProcessVideo) StartProcessVideo()

type VideoPathList

type VideoPathList []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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