mirror of https://github.com/OpenVidu/openvidu.git
kms.stats-enabled system property removed
parent
2fd248e4ae
commit
3a38f68022
|
@ -87,9 +87,6 @@ public class OpenviduConfig {
|
|||
@Value("${coturn.redis.connect-timeout}")
|
||||
private String coturnRedisConnectTimeout;
|
||||
|
||||
@Value("${kms.stats-enabled}")
|
||||
private boolean kmsStatsEnabled;
|
||||
|
||||
@Value("#{'${spring.profiles.active:}'.length() > 0 ? '${spring.profiles.active:}'.split(',') : \"default\"}")
|
||||
private String springProfile;
|
||||
|
||||
|
@ -192,10 +189,6 @@ public class OpenviduConfig {
|
|||
return this.coturnRedisDbname;
|
||||
}
|
||||
|
||||
public boolean isKmsStatsEnabled() {
|
||||
return this.kmsStatsEnabled;
|
||||
}
|
||||
|
||||
public String getOpenViduRecordingNotification() {
|
||||
return this.openviduRecordingNotification;
|
||||
}
|
||||
|
|
|
@ -212,10 +212,6 @@ public class KurentoSession extends Session {
|
|||
@Override
|
||||
public void onSuccess(MediaPipeline result) throws Exception {
|
||||
pipeline = result;
|
||||
if (openviduConfig.isKmsStatsEnabled()) {
|
||||
pipeline.setLatencyStats(true);
|
||||
log.debug("SESSION {}: WebRTC server stats enabled", sessionId);
|
||||
}
|
||||
pipelineLatch.countDown();
|
||||
log.debug("SESSION {}: Created MediaPipeline", sessionId);
|
||||
}
|
||||
|
|
|
@ -497,9 +497,6 @@ public abstract class MediaEndpoint {
|
|||
json.add("receivedCandidates", new GsonBuilder().create().toJsonTree(this.receivedCandidateList));
|
||||
json.addProperty("localCandidate", this.selectedLocalIceCandidate);
|
||||
json.addProperty("remoteCandidate", this.selectedRemoteIceCandidate);
|
||||
if (openviduConfig.isKmsStatsEnabled()) {
|
||||
json.addProperty("serverStats", new Gson().toJson(this.webEndpoint.getStats()));
|
||||
}
|
||||
|
||||
JsonArray jsonArray = new JsonArray();
|
||||
this.kmsEvents.forEach(ev -> {
|
||||
|
|
|
@ -6,12 +6,6 @@
|
|||
"description": "KMS URL's to which OpenVidu Server will try to connect. They are tested in order until a valid one is found",
|
||||
"defaultValue": "[\"ws://localhost:8888/kurento\"]"
|
||||
},
|
||||
{
|
||||
"name": "kms.stats-enabled",
|
||||
"type": "java.lang.Boolean",
|
||||
"description": "Whether to activate the KMS WebRTC statistics feature or not. This may increase the processor consumption",
|
||||
"defaultValue": false
|
||||
},
|
||||
{
|
||||
"name": "openvidu.secret",
|
||||
"type": "java.lang.String",
|
||||
|
|
|
@ -28,7 +28,6 @@ openvidu.streams.video.max-send-bandwidth: 1000
|
|||
openvidu.streams.video.min-send-bandwidth: 300
|
||||
|
||||
kms.uris: [\"ws://localhost:8888/kurento\"]
|
||||
kms.stats-enabled: false
|
||||
|
||||
coturn.redis.ip: 127.0.0.1
|
||||
coturn.redis.dbname: 0
|
||||
|
|
Loading…
Reference in New Issue