provider

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type H264VideoLooper

type H264VideoLooper struct {
	lksdk.BaseSampleProvider
	// contains filtered or unexported fields
}

func NewH264VideoLooper

func NewH264VideoLooper(input io.Reader, spec *videoSpec) (*H264VideoLooper, error)

func (*H264VideoLooper) Codec

func (*H264VideoLooper) NextSample

func (l *H264VideoLooper) NextSample(_ctx context.Context) (media.Sample, error)

func (*H264VideoLooper) ToLayer

func (l *H264VideoLooper) ToLayer(quality livekit.VideoQuality) *livekit.VideoLayer

type Looper added in v1.2.0

type Looper interface {
	lksdk.SampleProvider
	Codec() webrtc.RTPCodecCapability
}

type OpusAudioLooper added in v1.2.0

type OpusAudioLooper struct {
	lksdk.BaseSampleProvider
	// contains filtered or unexported fields
}

func CreateAudioLooper added in v1.2.0

func CreateAudioLooper() (*OpusAudioLooper, error)

func NewOpusAudioLooper added in v1.2.0

func NewOpusAudioLooper(input io.Reader) (*OpusAudioLooper, error)

func (*OpusAudioLooper) Codec added in v1.2.0

func (*OpusAudioLooper) NextSample added in v1.2.0

func (l *OpusAudioLooper) NextSample(_ctx context.Context) (media.Sample, error)

type VP8VideoLooper added in v0.8.0

type VP8VideoLooper struct {
	lksdk.BaseSampleProvider
	// contains filtered or unexported fields
}

func NewVP8VideoLooper added in v0.8.0

func NewVP8VideoLooper(input io.Reader, spec *videoSpec) (*VP8VideoLooper, error)

func (*VP8VideoLooper) Codec added in v0.8.0

func (*VP8VideoLooper) NextSample added in v0.8.0

func (l *VP8VideoLooper) NextSample(_ctx context.Context) (media.Sample, error)

func (*VP8VideoLooper) ToLayer added in v0.8.0

func (l *VP8VideoLooper) ToLayer(quality livekit.VideoQuality) *livekit.VideoLayer

type VideoLooper added in v0.8.0

type VideoLooper interface {
	Looper
	ToLayer(quality livekit.VideoQuality) *livekit.VideoLayer
}

func CreateVideoLoopers added in v1.2.0

func CreateVideoLoopers(resolution string, codecFilter string, simulcast bool) ([]VideoLooper, error)

Jump to

Keyboard shortcuts

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