README ¶ Video VCR Records h264 or h265 video to a sqlite3 database. Useful for debugging Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Recorder func NewRecorder(dbPath string, logger logging.Logger) (*Recorder, error) func (rs *Recorder) Close() error func (rs *Recorder) InitH264(width, height int) error func (rs *Recorder) InitH265(width, height int) error func (rs *Recorder) Packet(payload []byte, pts int64, dts int64, isIDR bool) error 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 Source Files ¶ View all Source files recorder.go Directories ¶ Show internal Expand all Path Synopsis cmd vcr-h264 vcr-h265 Click to show internal directories. Click to hide internal directories.