pipeline

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller added in v1.7.8

type Controller struct {
	*config.PipelineConfig
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, conf *config.PipelineConfig, ipcServiceClient ipc.EgressServiceClient) (*Controller, error)

func NewWithSource added in v1.13.0

func NewWithSource(
	ctx context.Context,
	conf *config.PipelineConfig,
	ipcServiceClient ipc.EgressServiceClient,
	srcBuilder SourceBuilder,
) (*Controller, error)

NewWithSource creates a Controller using the given SourceBuilder. The builder runs after the controller has been constructed and receives the controller's Callbacks, so the source can share GstReady with the pipeline. Use this when the source isn't the standard source.New (testfeeder, replay export, etc.).

func (*Controller) BuildPipeline added in v1.7.8

func (c *Controller) BuildPipeline() error

func (*Controller) Callbacks added in v1.13.0

func (c *Controller) Callbacks() *gstreamer.Callbacks

Callbacks returns the pipeline callbacks. Sources that need to wait for GstReady before creating appsrc elements can use this.

func (*Controller) Close added in v1.7.9

func (c *Controller) Close()

func (*Controller) GetGstPipelineDebugDot added in v1.7.8

func (c *Controller) GetGstPipelineDebugDot() (string, error)

func (*Controller) OnError added in v1.7.8

func (c *Controller) OnError(err error)

func (*Controller) Run added in v1.7.8

func (*Controller) SendEOS added in v1.7.8

func (c *Controller) SendEOS(ctx context.Context, reason string)

func (*Controller) SetReplayTiming added in v1.13.0

func (c *Controller) SetReplayTiming(startAt, durationMs int64)

func (*Controller) UpdateEgress added in v1.13.0

func (c *Controller) UpdateEgress(ctx context.Context, req *livekit.UpdateEgressRequest) error

func (*Controller) UpdateStream added in v1.7.8

func (c *Controller) UpdateStream(ctx context.Context, req *livekit.UpdateStreamRequest) error

type SourceBuilder added in v1.13.0

type SourceBuilder func(callbacks *gstreamer.Callbacks) (source.Source, error)

SourceBuilder constructs a pipeline source. It receives the controller's callbacks so the source can synchronize on GstReady; custom sources that don't need gst synchronization can ignore the argument.

Directories

Path Synopsis
sdk

Jump to

Keyboard shortcuts

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