server

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: LGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

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

func NewHTTPServer

func NewHTTPServer(cfg *config.Config, ps pubsub.PubSub) *HTTPServer

func (*HTTPServer) Serve

func (s *HTTPServer) Serve()

type Server

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

func NewServer

func NewServer(cfg *config.Config, ps pubsub.PubSub) *Server

func (*Server) Close

func (s *Server) Close() error

func (*Server) CloseSession

func (s *Server) CloseSession(id string)

func (*Server) HandlePubSub

func (s *Server) HandlePubSub(ctx context.Context, msg []byte)

func (*Server) OnStart

func (s *Server) OnStart() error

func (*Server) PublishPubSub

func (s *Server) PublishPubSub(msg interface{})

type Session

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

func NewSession

func NewSession(id string, s *Server, wrtc *webrtc.WebRTC, lk *livekit.LiveKitWebRTC, recorder recorder.Recorder) *Session

func (*Session) StartRecording

func (s *Session) StartRecording(e *events.StartRecording) (string, error)

func (*Session) StopRecording

func (s *Session) StopRecording() time.Duration

Jump to

Keyboard shortcuts

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