Refactor/cleanup of negotiation path

This commit is contained in:
David Zhao
2021-04-15 17:03:22 -07:00
parent 6c5bd4ce42
commit e4238890ff
20 changed files with 153 additions and 151 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ func (s *RTCService) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
pi := routing.ParticipantInit{
Reconnect: reconnectParam == "1" || reconnectParam == "true",
Reconnect: boolValue(reconnectParam),
Identity: claims.Identity,
}
// only use permissions if any of them are set, default permissive