vcr

package module
v0.0.0-...-244b7a3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

README

Video VCR

Records h264 or h265 video to a sqlite3 database.

Useful for debugging

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

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

func NewRecorder

func NewRecorder(dbPath string, logger logging.Logger) (*Recorder, error)

func (*Recorder) Close

func (rs *Recorder) Close() error

func (*Recorder) InitH264

func (rs *Recorder) InitH264(width, height int) error

func (*Recorder) InitH265

func (rs *Recorder) InitH265(width, height int) error

func (*Recorder) Packet

func (rs *Recorder) Packet(payload []byte, pts int64, dts int64, isIDR bool) error

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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