server

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: 32 Imported by: 1 module, 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 Server

type Server struct {
	ipc.UnimplementedEgressServiceServer

	service.ProcessManager
	*service.MetricsService
	*service.DebugService
	// contains filtered or unexported fields
}

func NewServer

func NewServer(conf *config.ServiceConfig, bus psrpc.MessageBus, ioClient info.SessionReporter) (*Server, error)

func (*Server) Drain

func (s *Server) Drain()

func (*Server) HandlerFinished

func (s *Server) HandlerFinished(_ context.Context, req *ipc.HandlerFinishedRequest) (*emptypb.Empty, error)

func (*Server) HandlerReady

func (s *Server) HandlerReady(_ context.Context, req *ipc.HandlerReadyRequest) (*emptypb.Empty, error)

func (*Server) HandlerUpdate

func (s *Server) HandlerUpdate(_ context.Context, info *livekit.EgressInfo) (*emptypb.Empty, error)

func (*Server) IsDisabled

func (s *Server) IsDisabled() bool

func (*Server) IsIdle

func (s *Server) IsIdle() bool

func (*Server) IsTerminating added in v1.8.6

func (s *Server) IsTerminating() bool

func (*Server) ListActiveEgress

func (*Server) Run

func (s *Server) Run() error

func (*Server) Shutdown

func (s *Server) Shutdown(terminating, kill bool)

func (*Server) StartEgress

func (s *Server) StartEgress(ctx context.Context, req *rpc.StartEgressRequest) (*livekit.EgressInfo, error)

func (*Server) StartEgressAffinity

func (s *Server) StartEgressAffinity(_ context.Context, req *rpc.StartEgressRequest) float32

func (*Server) StartTemplatesServer

func (s *Server) StartTemplatesServer(fs fs.FS) error

func (*Server) Status

func (s *Server) Status() ([]byte, error)

func (*Server) StorageEvent added in v1.13.0

func (s *Server) StorageEvent(_ context.Context, _ *ipc.StorageEventRequest) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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