libav

package
v0.0.0-...-4503ccc Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: CC0-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recoder

type Recoder struct {
	*saferecoder.Recoder
	Process *saferecoder.Process
}

func (*Recoder) Close

func (r *Recoder) Close() error

func (*Recoder) NewInputFromURL

func (r *Recoder) NewInputFromURL(
	ctx context.Context,
	url string,
	authKey string,
	cfg recoder.InputConfig,
) (recoder.Input, error)

func (*Recoder) NewOutputFromURL

func (r *Recoder) NewOutputFromURL(
	ctx context.Context,
	url string,
	streamKey string,
	cfg recoder.OutputConfig,
) (recoder.Output, error)

func (*Recoder) StartRecoding

func (r *Recoder) StartRecoding(
	ctx context.Context,
	inputIface recoder.Input,
	outputIface recoder.Output,
) error

func (*Recoder) WaitForRecordingEnd

func (r *Recoder) WaitForRecordingEnd(ctx context.Context) error

type RecoderFactory

type RecoderFactory struct{}

func NewRecoderFactory

func NewRecoderFactory() *RecoderFactory

func (RecoderFactory) New

Jump to

Keyboard shortcuts

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