service

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler added in v1.0.2

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

func NewHandler added in v1.0.2

func NewHandler(conf *config.PipelineConfig, bus psrpc.MessageBus, ioClient rpc.IOInfoClient) (*Handler, error)

func (*Handler) GetPProf added in v1.5.5

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

func (*Handler) GetPipelineDot added in v1.5.5

func (*Handler) Kill added in v1.0.2

func (h *Handler) Kill()

func (*Handler) Run added in v1.5.3

func (h *Handler) Run() error

func (*Handler) StopEgress added in v1.5.4

func (*Handler) UpdateStream added in v1.5.4

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

type HandlerV0 added in v1.5.4

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

func NewHandlerV0 added in v1.5.4

func NewHandlerV0(conf *config.PipelineConfig, rpcServer egress.RPCServer) (*HandlerV0, error)

func (*HandlerV0) Kill added in v1.5.4

func (h *HandlerV0) Kill()

func (*HandlerV0) Run added in v1.5.4

func (h *HandlerV0) Run() error

type ProcessManager added in v1.5.3

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

func NewProcessManager added in v1.5.3

func NewProcessManager(conf *config.ServiceConfig, monitor *stats.Monitor) *ProcessManager

type Service

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

func NewService

func NewService(conf *config.ServiceConfig, bus psrpc.MessageBus, rpcServerV0 egress.RPCServer) (*Service, error)

func (*Service) ListActiveEgress added in v1.5.4

func (*Service) ListEgress added in v1.1.0

func (s *Service) ListEgress() []string

func (*Service) Run

func (s *Service) Run() error

func (*Service) StartDebugHandlers added in v1.5.4

func (s *Service) StartDebugHandlers()

func (*Service) StartEgress added in v1.5.4

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

func (*Service) StartEgressAffinity added in v1.5.4

func (s *Service) StartEgressAffinity(req *livekit.StartEgressRequest) float32

func (*Service) Status

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

func (*Service) Stop

func (s *Service) Stop(kill bool)

Jump to

Keyboard shortcuts

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