Documentation
¶
Index ¶
- type Handler
- func (h *Handler) DeleteIngress(ctx context.Context, req *livekit.DeleteIngressRequest) (*livekit.IngressState, error)
- func (h *Handler) HandleIngress(ctx context.Context, info *livekit.IngressInfo, wsUrl string, token string)
- func (h *Handler) Kill()
- func (h *Handler) UpdateIngress(ctx context.Context, req *livekit.UpdateIngressRequest) (*livekit.IngressState, error)
- type ProcessManager
- type Service
- func (s *Service) CanAccept() bool
- func (s *Service) HandleRTMPPublishRequest(streamKey string) error
- func (s *Service) ListActiveIngress(ctx context.Context, _ *rpc.ListActiveIngressRequest) (*rpc.ListActiveIngressResponse, error)
- func (s *Service) ListIngress() []string
- func (s *Service) Run() error
- func (s *Service) Stop(kill bool)
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 (*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) HandleRTMPPublishRequest ¶
func (*Service) ListActiveIngress ¶
func (s *Service) ListActiveIngress(ctx context.Context, _ *rpc.ListActiveIngressRequest) (*rpc.ListActiveIngressResponse, error)
func (*Service) ListIngress ¶
Click to show internal directories.
Click to hide internal directories.