diff --git a/openvidu-server/src/main/java/io/openvidu/server/kurento/endpoint/KmsEvent.java b/openvidu-server/src/main/java/io/openvidu/server/kurento/endpoint/KmsEvent.java index 0b879f98..3b234f81 100644 --- a/openvidu-server/src/main/java/io/openvidu/server/kurento/endpoint/KmsEvent.java +++ b/openvidu-server/src/main/java/io/openvidu/server/kurento/endpoint/KmsEvent.java @@ -45,6 +45,7 @@ public class KmsEvent { public JsonObject toJson() { JsonObject json = JsonUtils.toJsonObject(event); json.remove("tags"); + json.remove("timestampMillis"); json.addProperty("timestamp", timestamp); json.addProperty("session", participant.getSessionId()); json.addProperty("user", participant.getFinalUserId()); @@ -53,7 +54,7 @@ public class KmsEvent { json.addProperty("msSinceEndpointCreation", msSinceCreation); return json; } - + public long getTimestamp() { return this.timestamp; }