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
+1
View File
@@ -38,6 +38,7 @@ var (
ErrPermissionDenied = errors.New("permissions denied")
ErrMissingAuthorization = errors.New("invalid authorization header. Must start with " + bearerPrefix)
ErrInvalidAuthorizationToken = errors.New("invalid authorization token")
ErrInvalidAPIKey = errors.New("invalid API key")
)
// authentication middleware