fixed multi-node routing, correctly set rtc and signal nodes

This commit is contained in:
David Zhao
2021-01-27 01:16:08 -08:00
parent 61db4f5b66
commit 25d476b8ac
10 changed files with 136 additions and 211 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ func NewLivekitServer(conf *config.Config,
}
// hook up router to the RoomManager
router.OnNewParticipant(roomManager.StartSession)
router.OnNewParticipantRTC(roomManager.StartSession)
// clean up old rooms on startup
err = roomManager.Cleanup()