video

package
v0.0.0-...-bfb58f9 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusNotRunning = "NOT_RUNNING"
	StatusRunning    = "RUNNING"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Capture

type Capture struct {
	CapturerUUID string
	Data         []byte
	Timestamp    time.Time
}

type MJPEGCapturer

type MJPEGCapturer struct {
	UUIDIdent string
	URL       *url.URL
	// contains filtered or unexported fields
}

func NewMJPEGCapturer

func NewMJPEGCapturer(uuid, rawURL string, maxFrameBuffer int, logger *logrus.Logger) (*MJPEGCapturer, error)

func (*MJPEGCapturer) Close

func (m *MJPEGCapturer) Close()

func (*MJPEGCapturer) NextOutput

func (m *MJPEGCapturer) NextOutput() (*Capture, error)

func (*MJPEGCapturer) Start

func (m *MJPEGCapturer) Start()

func (*MJPEGCapturer) Status

func (m *MJPEGCapturer) Status() string

func (*MJPEGCapturer) TargetURL

func (m *MJPEGCapturer) TargetURL() string

func (*MJPEGCapturer) UUID

func (m *MJPEGCapturer) UUID() string

Jump to

Keyboard shortcuts

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