Stop OpenVidu with error if COTURN_PORT is not valid
This commit is contained in:
parent
bced9ecfa2
commit
c32622dc28
@ -634,8 +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");
|
||||
addError("COTURN_PORT", "COTURN PORT is out of valid ports range (0-65535)");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user