source

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AudioAppSource = "audioAppSrc"
	VideoAppSource = "videoAppSrc"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SDKSource

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

func NewSDKSource

func NewSDKSource(ctx context.Context, p *config.PipelineConfig) (*SDKSource, error)

func (*SDKSource) Close

func (s *SDKSource) Close()

func (*SDKSource) CloseWriters added in v1.5.6

func (s *SDKSource) CloseWriters()

func (*SDKSource) EndRecording

func (s *SDKSource) EndRecording() chan struct{}

func (*SDKSource) GetEndTime

func (s *SDKSource) GetEndTime() int64

func (*SDKSource) GetStartTime

func (s *SDKSource) GetStartTime() int64

func (*SDKSource) OnTrackMuted added in v1.5.6

func (s *SDKSource) OnTrackMuted(onTrackMuted func(bool))

func (*SDKSource) Playing

func (s *SDKSource) Playing(name string)

func (*SDKSource) StartRecording

func (s *SDKSource) StartRecording() chan struct{}

func (*SDKSource) StreamStopped added in v1.5.6

func (s *SDKSource) StreamStopped(name string)

type Source

type Source interface {
	StartRecording() chan struct{}
	EndRecording() chan struct{}
	Close()
}

func New added in v1.5.6

type WebSource

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

func NewWebSource

func NewWebSource(ctx context.Context, p *config.PipelineConfig) (*WebSource, error)

func (*WebSource) Close

func (s *WebSource) Close()

func (*WebSource) EndRecording

func (s *WebSource) EndRecording() chan struct{}

func (*WebSource) StartRecording

func (s *WebSource) StartRecording() chan struct{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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