Documentation ¶
Overview ¶
Package vpx contains the vpx video codec.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultStreamConfig gostream.StreamConfig
DefaultStreamConfig configures vpx as the encoder for a stream.
Functions ¶
func NewEncoder ¶
func NewEncoder(codecVersion Version, width, height, keyFrameInterval int, logger golog.Logger) (ourcodec.VideoEncoder, error)
NewEncoder returns a vpx encoder of the given type 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(codecVersion Version) codec.VideoEncoderFactory
NewEncoderFactory returns a vpx factory for the given vpx codec.
Types ¶
Click to show internal directories.
Click to hide internal directories.