ForceTCP only for supported clients (#997)

* ForceTCP only for supported clients

Revert back to standard if forceRelay with TLS fails
Don't force TLS unless it's configured

* fix lint
This commit is contained in:
David Zhao
2022-09-09 18:14:36 -07:00
committed by GitHub
parent 47faedc27a
commit 7e3155dcd6
7 changed files with 150 additions and 21 deletions
+1
View File
@@ -292,6 +292,7 @@ func (r *RoomManager) StartSession(
Region: pi.Region,
AdaptiveStream: pi.AdaptiveStream,
AllowTCPFallback: allowFallback,
TURNSEnabled: r.config.IsTURNSEnabled(),
})
if err != nil {
return err