vpx

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

func WithOptions

func WithOptions(arg Options) Option

type Options

type Options struct {
	// Target bandwidth to use for this stream, in kilobits per second.
	Bitrate uint
	// Force keyframe interval.
	KeyframeInt uint
}

type Vpx

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

func NewEncoder

func NewEncoder(width, height int, options ...Option) (*Vpx, error)

func (*Vpx) Shutdown

func (vpx *Vpx) Shutdown() error

Jump to

Keyboard shortcuts

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