builder

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 *params.Params, src *app.Source, codec webrtc.RTPCodecParameters) (*AudioInput, error)

func NewWebAudioInput

func NewWebAudioInput(p *params.Params) (*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 *params.Params, audioSrc, videoSrc *app.Source, audioCodec, videoCodec webrtc.RTPCodecParameters) (*InputBin, error)

func NewWebInput

func NewWebInput(ctx context.Context, p *params.Params) (*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 *params.Params, src *app.Source, codec webrtc.RTPCodecParameters) (*VideoInput, error)

func NewWebVideoInput

func NewWebVideoInput(p *params.Params) (*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