Rework configuration of built-in TURN server.

The default configuration is now defined by an explicit value
"auto", which is easier to check and to explain.
This commit is contained in:
Juliusz Chroboczek
2021-01-19 18:04:39 +01:00
parent c1b689bccf
commit c103d1cfb0
4 changed files with 32 additions and 30 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ func Update() *configuration {
}
}
err := turnserver.StartStop(found)
err := turnserver.StartStop(!found)
if err != nil {
log.Printf("TURN: %v", err)
}