capture

package
v1.6.18 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BroacastManagerCtx

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

func (*BroacastManagerCtx) Start

func (manager *BroacastManagerCtx) Start(url string) error

func (*BroacastManagerCtx) Started

func (manager *BroacastManagerCtx) Started() bool

func (*BroacastManagerCtx) Stop

func (manager *BroacastManagerCtx) Stop()

func (*BroacastManagerCtx) Url

func (manager *BroacastManagerCtx) Url() string

type CaptureManagerCtx

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

func New

func New(desktop types.DesktopManager, config *config.Capture) *CaptureManagerCtx

func (*CaptureManagerCtx) Audio

func (manager *CaptureManagerCtx) Audio() types.StreamSinkManager

func (*CaptureManagerCtx) Broadcast

func (manager *CaptureManagerCtx) Broadcast() types.BroadcastManager

func (*CaptureManagerCtx) Microphone

func (manager *CaptureManagerCtx) Microphone() types.StreamSrcManager

func (*CaptureManagerCtx) Screencast

func (manager *CaptureManagerCtx) Screencast() types.ScreencastManager

func (*CaptureManagerCtx) Shutdown

func (manager *CaptureManagerCtx) Shutdown() error

func (*CaptureManagerCtx) Start

func (manager *CaptureManagerCtx) Start()

func (*CaptureManagerCtx) Video

func (*CaptureManagerCtx) Webcam

func (manager *CaptureManagerCtx) Webcam() types.StreamSrcManager

type ScreencastManagerCtx

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

func (*ScreencastManagerCtx) Enabled

func (manager *ScreencastManagerCtx) Enabled() bool

func (*ScreencastManagerCtx) Image

func (manager *ScreencastManagerCtx) Image() ([]byte, error)

func (*ScreencastManagerCtx) Started

func (manager *ScreencastManagerCtx) Started() bool

type StreamSelectorManagerCtx added in v1.6.12

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

func (*StreamSelectorManagerCtx) Codec added in v1.6.12

func (manager *StreamSelectorManagerCtx) Codec() codec.RTPCodec

func (*StreamSelectorManagerCtx) GetStream added in v1.6.12

func (manager *StreamSelectorManagerCtx) GetStream(selector types.StreamSelector) (types.StreamSinkManager, bool)

func (*StreamSelectorManagerCtx) IDs added in v1.6.12

func (manager *StreamSelectorManagerCtx) IDs() []string

type StreamSinkManagerCtx

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

func (*StreamSinkManagerCtx) AddListener

func (manager *StreamSinkManagerCtx) AddListener(listener types.SampleListener) error

func (*StreamSinkManagerCtx) Bitrate added in v1.6.4

func (manager *StreamSinkManagerCtx) Bitrate() uint64

func (*StreamSinkManagerCtx) Codec

func (manager *StreamSinkManagerCtx) Codec() codec.RTPCodec

func (*StreamSinkManagerCtx) CreatePipeline added in v1.6.7

func (manager *StreamSinkManagerCtx) CreatePipeline() error

func (*StreamSinkManagerCtx) DestroyPipeline added in v1.6.7

func (manager *StreamSinkManagerCtx) DestroyPipeline()

func (*StreamSinkManagerCtx) ID added in v1.6.4

func (manager *StreamSinkManagerCtx) ID() string

func (*StreamSinkManagerCtx) ListenersCount

func (manager *StreamSinkManagerCtx) ListenersCount() int

func (*StreamSinkManagerCtx) MoveListenerTo

func (manager *StreamSinkManagerCtx) MoveListenerTo(listener types.SampleListener, stream types.StreamSinkManager) error

moving listeners between streams ensures, that target pipeline is running before listener is added, and stops source pipeline if there are 0 listeners

func (*StreamSinkManagerCtx) RemoveListener

func (manager *StreamSinkManagerCtx) RemoveListener(listener types.SampleListener) error

func (*StreamSinkManagerCtx) Started

func (manager *StreamSinkManagerCtx) Started() bool

type StreamSrcManagerCtx

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

func (*StreamSrcManagerCtx) Codec

func (manager *StreamSrcManagerCtx) Codec() codec.RTPCodec

func (*StreamSrcManagerCtx) Push

func (manager *StreamSrcManagerCtx) Push(bytes []byte)

func (*StreamSrcManagerCtx) Start

func (manager *StreamSrcManagerCtx) Start(codec codec.RTPCodec) error

func (*StreamSrcManagerCtx) Started

func (manager *StreamSrcManagerCtx) Started() bool

func (*StreamSrcManagerCtx) Stop

func (manager *StreamSrcManagerCtx) Stop()

Jump to

Keyboard shortcuts

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