handler

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: 23 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 Handler

type Handler struct {
	ipc.UnimplementedEgressHandlerServer
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(conf *config.PipelineConfig) (*Handler, error)

func (*Handler) GenerateMetrics

func (h *Handler) GenerateMetrics(_ context.Context) (string, error)

func (*Handler) GetMetrics

func (h *Handler) GetMetrics(ctx context.Context, _ *ipc.MetricsRequest) (*ipc.MetricsResponse, error)

GetMetrics implement the handler-side gathering of metrics to return over IPC

func (*Handler) GetPProf

func (h *Handler) GetPProf(ctx context.Context, req *ipc.PProfRequest) (*ipc.PProfResponse, error)

func (*Handler) Kill

func (h *Handler) Kill()

func (*Handler) KillEgress added in v1.11.0

func (h *Handler) KillEgress(ctx context.Context, req *ipc.KillEgressRequest) (*emptypb.Empty, error)

func (*Handler) Run

func (h *Handler) Run()

func (*Handler) StopEgress

func (*Handler) StopHandler added in v1.14.0

func (h *Handler) StopHandler(ctx context.Context, req *ipc.StopHandlerRequest) (*emptypb.Empty, error)

StopHandler triggers a graceful EOS drain with the caller-supplied end reason; unlike KillEgress it leaves the egress status untouched so the recording finalizes as a normal completion.

func (*Handler) UpdateStream

func (h *Handler) UpdateStream(ctx context.Context, req *livekit.UpdateStreamRequest) (*livekit.EgressInfo, error)

Jump to

Keyboard shortcuts

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