MCPcopy
hub / github.com/livekit/livekit / LivekitServer

Struct LivekitServer

pkg/service/server.go:48–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46)
47
48type LivekitServer struct {
49 config *config.Config
50 ioService *IOInfoService
51 rtcService *RTCService
52 whipService *WHIPService
53 agentService *AgentService
54 httpServer *http.Server
55 promServer *http.Server
56 debugServer *http.Server
57 router routing.Router
58 roomManager *RoomManager
59 signalServer *SignalServer
60 turnServer *turn.Server
61 currentNode routing.LocalNode
62 running atomic.Bool
63 doneChan chan struct{}
64 closedChan chan struct{}
65}
66
67func NewLivekitServer(conf *config.Config,
68 roomService livekit.RoomService,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected