whip

package
v0.0.0-...-ad8d7c7 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const PC_TIMEOUT = time.Minute * 5

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {

	// Listen address of the FS server in the ip:port format
	Address   string
	VideoFile string `mapstructure:"video_file"`
	AudioFile string `mapstructure:"audio_file"`
	// contains filtered or unexported fields
}

func New

func New(address, videoFile, audioFile string) *Source

func (*Source) Listen

func (s *Source) Listen(ctx context.Context)

func (*Source) SetControl

func (s *Source) SetControl(ctrl *control.Control)

func (*Source) SetLogger

func (s *Source) SetLogger(log logrus.FieldLogger)

Jump to

Keyboard shortcuts

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