mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: withActiveRecordings to withRecordings
parent
5000bdfcde
commit
2afc2a7d6c
|
@ -177,7 +177,7 @@ public class Kms {
|
|||
return json;
|
||||
}
|
||||
|
||||
public JsonObject toJsonExtended(boolean withSessions, boolean withActiveRecordings, boolean withExtraInfo) {
|
||||
public JsonObject toJsonExtended(boolean withSessions, boolean withRecordings, boolean withExtraInfo) {
|
||||
|
||||
JsonObject json = this.toJson();
|
||||
|
||||
|
@ -189,7 +189,7 @@ public class Kms {
|
|||
json.add("sessions", sessions);
|
||||
}
|
||||
|
||||
if (withActiveRecordings) {
|
||||
if (withRecordings) {
|
||||
JsonArray activeRecordingsJson = new JsonArray();
|
||||
for (String recordingId : this.activeRecordings.keySet()) {
|
||||
activeRecordingsJson.add(recordingId);
|
||||
|
|
|
@ -91,8 +91,8 @@ public abstract class KmsManager {
|
|||
return json;
|
||||
}
|
||||
|
||||
public JsonObject toJsonExtended(boolean withSessions, boolean withActiveRecordings, boolean withExtraInfo) {
|
||||
JsonObject json = this.kms.toJsonExtended(withSessions, withActiveRecordings, withExtraInfo);
|
||||
public JsonObject toJsonExtended(boolean withSessions, boolean withRecordings, boolean withExtraInfo) {
|
||||
JsonObject json = this.kms.toJsonExtended(withSessions, withRecordings, withExtraInfo);
|
||||
json.addProperty("load", this.load);
|
||||
return json;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue