opus

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package opus contains the opus video codec.

Index

Constants

This section is empty.

Variables

View Source
var DefaultStreamConfig gostream.StreamConfig

DefaultStreamConfig configures Opus as the audio encoder for a stream.

Functions

func NewEncoder

func NewEncoder(sampleRate, channelCount int, latency time.Duration, logger golog.Logger) (ourcodec.AudioEncoder, error)

NewEncoder returns an Opus 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.AudioEncoderFactory

NewEncoderFactory returns an Opus audio encoder factory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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