transcoder

package
v0.0.0-...-6470968 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrTranscoderNotSupported is returned when the transcoder is not supported
	ErrTranscoderNotSupported = errors.New("transcoder not supported")
)

Functions

This section is empty.

Types

type NoopTranscoder

type NoopTranscoder struct {
	deliver.MediaFramePipeImpl
}

func (*NoopTranscoder) Close

func (t *NoopTranscoder) Close()

func (*NoopTranscoder) Label

func (t *NoopTranscoder) Label() string

type Transcoder

type Transcoder interface {
	deliver.FrameDestination
	deliver.FrameSource
	Label() string
	Close()
}

func NewNoopTranscoder

func NewNoopTranscoder(ctx context.Context, inCodec deliver.CodecType) Transcoder

func NewTranscoder

func NewTranscoder(ctx context.Context, inCodec, outCodec deliver.CodecType) (Transcoder, error)

Jump to

Keyboard shortcuts

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