mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: getters for events timestamps
parent
0ea53d063a
commit
8fd17155a1
|
@ -54,6 +54,10 @@ public class KmsEvent {
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long getTimestamp() {
|
||||||
|
return this.timestamp;
|
||||||
|
}
|
||||||
|
|
||||||
private void removeSourceForJsonCompatibility() {
|
private void removeSourceForJsonCompatibility() {
|
||||||
// This avoids stack overflow error when transforming RaiseBaseEvent into
|
// This avoids stack overflow error when transforming RaiseBaseEvent into
|
||||||
// JsonObject
|
// JsonObject
|
||||||
|
|
|
@ -30,7 +30,6 @@ import io.openvidu.server.core.FinalUser;
|
||||||
|
|
||||||
public class SessionSummary {
|
public class SessionSummary {
|
||||||
|
|
||||||
private long totalStreamedMinutes; // Minutes
|
|
||||||
private CDREventSession eventSessionEnd;
|
private CDREventSession eventSessionEnd;
|
||||||
private Map<String, FinalUser> users;
|
private Map<String, FinalUser> users;
|
||||||
private Collection<CDREventRecording> recordings;
|
private Collection<CDREventRecording> recordings;
|
||||||
|
@ -80,4 +79,8 @@ public class SessionSummary {
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public CDREventSession getEventSessionEnd() {
|
||||||
|
return this.eventSessionEnd;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue