service

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(conf *config.Config, rpcClient rpc.IOInfoClient) *Handler

func (*Handler) DeleteIngress

func (h *Handler) DeleteIngress(ctx context.Context, req *livekit.DeleteIngressRequest) (*livekit.IngressState, error)

func (*Handler) HandleIngress

func (h *Handler) HandleIngress(ctx context.Context, info *livekit.IngressInfo, wsUrl string, token string)

func (*Handler) Kill

func (h *Handler) Kill()

func (*Handler) UpdateIngress

func (h *Handler) UpdateIngress(ctx context.Context, req *livekit.UpdateIngressRequest) (*livekit.IngressState, error)

type ProcessManager

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

func NewProcessManager

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

type Service

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

func NewService

func NewService(conf *config.Config, psrpcClient rpc.IOInfoClient) *Service

func (*Service) CanAccept

func (s *Service) CanAccept() bool

func (*Service) HandleRTMPPublishRequest

func (s *Service) HandleRTMPPublishRequest(streamKey string) error

func (*Service) ListActiveIngress

func (*Service) ListIngress

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

func (*Service) Run

func (s *Service) Run() 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