whip

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WHIPAppSourceLabel = "whipAppSrc"
)

Variables

This section is empty.

Functions

func NewWHIPAppSource

func NewWHIPAppSource(ctx context.Context, resourceId string, trackKind types.StreamKind, mimeType string, relayUrl string) (*whipAppSource, error)

Types

type WHIPSource

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

func NewWHIPRelaySource

func NewWHIPRelaySource(ctx context.Context, p *params.Params) (*WHIPSource, error)

func (*WHIPSource) Close

func (s *WHIPSource) Close() error

func (*WHIPSource) GetSources

func (s *WHIPSource) GetSources() []*gst.Element

func (*WHIPSource) Start

func (s *WHIPSource) Start(ctx context.Context) error

func (*WHIPSource) ValidateCaps added in v1.1.0

func (s *WHIPSource) ValidateCaps(*gst.Caps) error

Jump to

Keyboard shortcuts

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