| 46 | ) |
| 47 | |
| 48 | type 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 | |
| 67 | func NewLivekitServer(conf *config.Config, |
| 68 | roomService livekit.RoomService, |
nothing calls this directly
no outgoing calls
no test coverage detected