Documentation
¶
Overview ¶
Package mmal contains the mmal video codec.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultStreamConfig gostream.StreamConfig
DefaultStreamConfig configures MMAL as the encoder for a stream.
Functions ¶
func NewEncoder ¶
func NewEncoder(width, height, keyFrameInterval int, logger golog.Logger) (ourcodec.VideoEncoder, error)
NewEncoder returns an MMAL encoder that can encode images of the given width and height. It will also ensure that it produces key frames at the given interval.
func NewEncoderFactory ¶
func NewEncoderFactory() codec.VideoEncoderFactory
NewEncoderFactory returns an MMAL encoder factory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.