info

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionReporter added in v1.13.0

type SessionReporter interface {
	CreateEgress(ctx context.Context, info *livekit.EgressInfo) chan error
	UpdateEgress(ctx context.Context, info *livekit.EgressInfo) error

	// SessionStarted reports that an egress is running: its handler process
	// came up and reported itself ready. An implementation that meters an
	// egress can measure from here rather than from EgressInfo.StartedAt,
	// which is stamped while the request is parsed and so says nothing about
	// whether the egress ever ran.
	SessionStarted(ctx context.Context, egressID string)

	// SessionEnded reports that an egress is over and that nothing will send
	// another update for it, whatever its last update said. It is called once
	// the handler process has exited, however it died, so an implementation
	// holding per-egress state can release that state even when the egress'
	// own terminal update never arrived. An implementation that releases on
	// that update instead will be called for an egress it no longer holds, so
	// this has to tolerate being called more than once.
	SessionEnded(ctx context.Context, egressID string)
	UpdateMetrics(ctx context.Context, req *rpc.UpdateMetricsRequest) error
	Drain()
}

func NewSessionReporter added in v1.13.0

func NewSessionReporter(conf *config.BaseConfig, bus psrpc.MessageBus) (SessionReporter, error)

Jump to

Keyboard shortcuts

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