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:
+1
-1
@@ -107,7 +107,7 @@ func Update() *configuration {
|
||||
}
|
||||
}
|
||||
|
||||
err := turnserver.StartStop(found)
|
||||
err := turnserver.StartStop(!found)
|
||||
if err != nil {
|
||||
log.Printf("TURN: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user