This commit is contained in:
Raja Subramanian
2025-08-03 04:00:38 +05:30
committed by GitHub
parent db4bc127e8
commit 5751692a2f
8 changed files with 90 additions and 87 deletions
+4 -4
View File
@@ -50,7 +50,7 @@ type LivekitServer struct {
ioService *IOInfoService
rtcService *RTCService
rtcv2Service *RTCv2Service
rtcRestService *RTCRestService
whipService *WHIPService
agentService *AgentService
httpServer *http.Server
promServer *http.Server
@@ -74,7 +74,7 @@ func NewLivekitServer(conf *config.Config,
ioService *IOInfoService,
rtcService *RTCService,
rtcv2Service *RTCv2Service,
rtcRestService *RTCRestService,
whipService *WHIPService,
agentService *AgentService,
keyProvider auth.KeyProvider,
router routing.Router,
@@ -89,7 +89,7 @@ func NewLivekitServer(conf *config.Config,
ioService: ioService,
rtcService: rtcService,
rtcv2Service: rtcv2Service,
rtcRestService: rtcRestService,
whipService: whipService,
agentService: agentService,
router: router,
roomManager: roomManager,
@@ -151,7 +151,7 @@ func NewLivekitServer(conf *config.Config,
xtwirp.RegisterServer(mux, sipServer)
rtcService.SetupRoutes(mux)
rtcv2Service.SetupRoutes(mux)
rtcRestService.SetupRoutes(mux)
whipService.SetupRoutes(mux)
mux.Handle("/agent", agentService)
mux.HandleFunc("/", s.defaultHandler)