Per-session TURN credentials (#2080)

Switching to using session specific TURN credentials instead of shared
credentials per Room. Also eliminates need to load Room from Redis
during TURN authentication
This commit is contained in:
David Zhao
2023-09-17 10:08:35 -07:00
committed by GitHub
parent 019ad88b08
commit 0b0431b765
5 changed files with 104 additions and 37 deletions
+2 -1
View File
@@ -73,7 +73,8 @@ func InitializeServer(conf *config.Config, currentNode routing.LocalNode) (*Live
NewDefaultSignalServer,
routing.NewSignalClient,
NewLocalRoomManager,
newTurnAuthHandler,
NewTURNAuthHandler,
getTURNAuthHandlerFunc,
newInProcessTurnServer,
utils.NewDefaultTimedVersionGenerator,
NewLivekitServer,