openvidu-server: participantJoined CDR/webhook event with client and server data

pull/375/head
pabloFuente 2019-08-23 10:09:31 +02:00
parent 8da682162d
commit b8a53fdb7e
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ public class CDREventParticipant extends CDREventEnd {
json.addProperty("location", json.addProperty("location",
this.participant.getLocation() != null ? this.participant.getLocation().toString() : "unknown"); this.participant.getLocation() != null ? this.participant.getLocation().toString() : "unknown");
json.addProperty("platform", this.participant.getPlatform()); json.addProperty("platform", this.participant.getPlatform());
json.addProperty("clientData", this.participant.getClientMetadata());
json.addProperty("serverData", this.participant.getServerMetadata());
return json; return json;
} }