Documentation ¶
Overview ¶
Package gstreamer implements an image recorder with the gstreamer tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListDevices ¶
ListDevices returns a list of devices that can be used for recording. ListDevices returns an error if no devices are available.
Types ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
Recorder is an image recorder using gstreamer.
func NewRecorder ¶
func NewRecorder(opts RecorderOpts) (recorder *Recorder, rerr error)
NewRecorder creates a new recorder using gstream. Gstreamer writes images to a temporary directory. These files are read and sent over the channel returned by Events.
Callers must call Close to clean up.
Click to show internal directories.
Click to hide internal directories.