If COTURN_PORT not defined or errored, set 3478 by default
This commit is contained in:
parent
3dab60b7df
commit
bced9ecfa2
@ -634,6 +634,7 @@ public class OpenviduConfig {
|
||||
String property = "COTURN_PORT";
|
||||
coturnPort = this.asNonNegativeInteger(property);
|
||||
if (coturnPort <= 0 || coturnPort > 65535){
|
||||
coturnPort = 3478;
|
||||
log.warn("Non valid coturn port, setting to default 3478");
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,4 +55,5 @@ COTURN_REDIS_DBNAME=0
|
||||
COTURN_REDIS_PASSWORD=turn
|
||||
COTURN_REDIS_CONNECT_TIMEOUT=30
|
||||
COTURN_INTERNAL_RELAY=false
|
||||
COTURN_PORT=3478
|
||||
MEDIA_NODES_PUBLIC_IPS=[]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user