app

package
v0.0.0-...-41660cd Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorStreamExitNoVideoOnStream = errors.New("Stream Exit No Video On Stream")
	ErrorStreamExitRtspDisconnect  = errors.New("Stream Exit Rtsp Disconnect")
	ErrorStreamExitNoViewer        = errors.New("Stream Exit On Demand No Viewer")
)

Functions

func ServeHTTP

func ServeHTTP(port string, stream *Stream)

Types

type Stream

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

func NewStream

func NewStream(config *pkg.ConfigST) *Stream

func (*Stream) RTSPWorker

func (stream *Stream) RTSPWorker(name, url string, OnDemand, DisableAudio, Debug bool) error

func (*Stream) RTSPWorkerLoop

func (stream *Stream) RTSPWorkerLoop(name, url string, OnDemand, DisableAudio, Debug bool)

func (*Stream) RunIFNotRun

func (stream *Stream) RunIFNotRun(uuid string)

func (*Stream) ServeStreams

func (stream *Stream) ServeStreams()

Jump to

Keyboard shortcuts

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