mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: white lines clear up
parent
2675077093
commit
a639fcbbc3
|
@ -243,7 +243,7 @@ public class OpenViduServer implements JsonRpcConfigurer {
|
||||||
|
|
||||||
for (Error error : config.getConfigErrors()) {
|
for (Error error : config.getConfigErrors()) {
|
||||||
msg += " * ";
|
msg += " * ";
|
||||||
if(error.getProperty() != null) {
|
if (error.getProperty() != null) {
|
||||||
msg += "Property " + config.getPropertyName(error.getProperty());
|
msg += "Property " + config.getPropertyName(error.getProperty());
|
||||||
if (error.getValue() == null || error.getValue().equals("")) {
|
if (error.getValue() == null || error.getValue().equals("")) {
|
||||||
msg += " is not set. ";
|
msg += " is not set. ";
|
||||||
|
@ -268,15 +268,15 @@ public class OpenViduServer implements JsonRpcConfigurer {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
String msg = "\n\n\n" + " Configuration properties\n" + " ----------------------\n" + "\n";
|
String msg = "\n\n\n" + " Configuration properties\n" + " ------------------------\n" + "\n";
|
||||||
|
|
||||||
Map<String, String> configProps = config.getConfigProps();
|
Map<String, String> configProps = config.getConfigProps();
|
||||||
List<String> configPropNames = new ArrayList<>(config.getUserProperties());
|
List<String> configPropNames = new ArrayList<>(config.getUserProperties());
|
||||||
Collections.sort(configPropNames);
|
Collections.sort(configPropNames);
|
||||||
|
|
||||||
for(String property : configPropNames) {
|
for (String property : configPropNames) {
|
||||||
String value = configProps.get(property);
|
String value = configProps.get(property);
|
||||||
msg += " * "+config.getPropertyName(property)+"="+(value == null? "": value)+"\n";
|
msg += " * " + config.getPropertyName(property) + "=" + (value == null ? "" : value) + "\n";
|
||||||
}
|
}
|
||||||
msg += "\n\n";
|
msg += "\n\n";
|
||||||
|
|
||||||
|
@ -290,10 +290,10 @@ public class OpenViduServer implements JsonRpcConfigurer {
|
||||||
String dashboardUrl = httpUrl + "dashboard/";
|
String dashboardUrl = httpUrl + "dashboard/";
|
||||||
|
|
||||||
// @formatter:off
|
// @formatter:off
|
||||||
String msg = "\n\n----------------------------------------------------\n" + "\n"
|
String msg = "\n\n----------------------------------------------------\n" + "\n" + " OpenVidu is ready!\n"
|
||||||
+ " OpenVidu Platform is ready!\n" + " ---------------------------\n" + "\n"
|
+ " ---------------------------\n" + "\n" + " * OpenVidu Server: " + httpUrl + "\n" + "\n"
|
||||||
+ " * OpenVidu Server: " + httpUrl + "\n" + "\n" + " * OpenVidu Dashboard: " + dashboardUrl + "\n"
|
+ " * OpenVidu Dashboard: " + dashboardUrl + "\n" + "\n"
|
||||||
+ "\n" + "----------------------------------------------------\n";
|
+ "----------------------------------------------------\n";
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
|
|
||||||
log.info(msg);
|
log.info(msg);
|
||||||
|
|
|
@ -437,6 +437,9 @@ public class OpenviduConfig {
|
||||||
openviduStreamsVideoMaxSendBandwidth = asNonNegativeInteger("openvidu.streams.video.max-send-bandwidth");
|
openviduStreamsVideoMaxSendBandwidth = asNonNegativeInteger("openvidu.streams.video.max-send-bandwidth");
|
||||||
openviduStreamsVideoMinSendBandwidth = asNonNegativeInteger("openvidu.streams.video.min-send-bandwidth");
|
openviduStreamsVideoMinSendBandwidth = asNonNegativeInteger("openvidu.streams.video.min-send-bandwidth");
|
||||||
|
|
||||||
|
openviduSessionsGarbageInterval = asNonNegativeInteger("openvidu.sessions.garbage.interval");
|
||||||
|
openviduSessionsGarbageThreshold = asNonNegativeInteger("openvidu.sessions.garbage.threshold");
|
||||||
|
|
||||||
kmsUrisList = checkKmsUris();
|
kmsUrisList = checkKmsUris();
|
||||||
|
|
||||||
checkCoturnIp();
|
checkCoturnIp();
|
||||||
|
@ -447,9 +450,6 @@ public class OpenviduConfig {
|
||||||
|
|
||||||
checkCertificateType();
|
checkCertificateType();
|
||||||
|
|
||||||
openviduSessionsGarbageInterval = asNonNegativeInteger("openvidu.sessions.garbage.interval");
|
|
||||||
openviduSessionsGarbageThreshold = asNonNegativeInteger("openvidu.sessions.garbage.threshold");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkCertificateType() {
|
private void checkCertificateType() {
|
||||||
|
|
Loading…
Reference in New Issue