builder

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Latency = uint64(41e8) // slightly larger than max audio latency

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioInput

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

func NewSDKAudioInput

func NewSDKAudioInput(p *config.PipelineConfig, src *app.Source, codec webrtc.RTPCodecParameters) (*AudioInput, error)

func NewWebAudioInput

func NewWebAudioInput(p *config.PipelineConfig) (*AudioInput, error)

func (*AudioInput) AddToBin

func (a *AudioInput) AddToBin(bin *gst.Bin) error

func (*AudioInput) GetSrcPad

func (a *AudioInput) GetSrcPad() *gst.Pad
func (a *AudioInput) Link() error

type InputBin

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

func NewSDKInput

func NewSDKInput(ctx context.Context, p *config.PipelineConfig, audioSrc, videoSrc *app.Source, audioCodec, videoCodec webrtc.RTPCodecParameters) (*InputBin, error)

func NewWebInput

func NewWebInput(ctx context.Context, p *config.PipelineConfig) (*InputBin, error)

func (*InputBin) Bin

func (b *InputBin) Bin() *gst.Bin

func (*InputBin) Element

func (b *InputBin) Element() *gst.Element
func (b *InputBin) Link() error

type VideoInput

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

func NewSDKVideoInput

func NewSDKVideoInput(p *config.PipelineConfig, src *app.Source, codec webrtc.RTPCodecParameters) (*VideoInput, error)

func NewWebVideoInput

func NewWebVideoInput(p *config.PipelineConfig) (*VideoInput, error)

func (*VideoInput) AddToBin

func (v *VideoInput) AddToBin(bin *gst.Bin) error

func (*VideoInput) GetSrcPad

func (v *VideoInput) GetSrcPad() *gst.Pad
func (v *VideoInput) Link() error

Jump to

Keyboard shortcuts

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