openvidu-server: getters for events timestamps

pull/255/head
pabloFuente 2019-03-12 16:49:44 +01:00
parent 0ea53d063a
commit 8fd17155a1
2 changed files with 8 additions and 1 deletions

View File

@ -53,6 +53,10 @@ public class KmsEvent {
json.addProperty("msSinceEndpointCreation", msSinceCreation);
return json;
}
public long getTimestamp() {
return this.timestamp;
}
private void removeSourceForJsonCompatibility() {
// This avoids stack overflow error when transforming RaiseBaseEvent into

View File

@ -30,7 +30,6 @@ import io.openvidu.server.core.FinalUser;
public class SessionSummary {
private long totalStreamedMinutes; // Minutes
private CDREventSession eventSessionEnd;
private Map<String, FinalUser> users;
private Collection<CDREventRecording> recordings;
@ -79,5 +78,9 @@ public class SessionSummary {
return json;
}
public CDREventSession getEventSessionEnd() {
return this.eventSessionEnd;
}
}