mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: Participant object property "session" to "sessionId"
parent
a3ef133b93
commit
acdfcd6559
|
@ -272,7 +272,7 @@ public class Participant {
|
||||||
public JsonObject toJson() {
|
public JsonObject toJson() {
|
||||||
JsonObject json = new JsonObject();
|
JsonObject json = new JsonObject();
|
||||||
json.addProperty("connectionId", this.participantPublicId);
|
json.addProperty("connectionId", this.participantPublicId);
|
||||||
json.addProperty("session", this.sessionId);
|
json.addProperty("sessionId", this.sessionId);
|
||||||
json.addProperty("createdAt", this.createdAt);
|
json.addProperty("createdAt", this.createdAt);
|
||||||
json.addProperty("location", this.location != null ? this.location.toString() : "unknown");
|
json.addProperty("location", this.location != null ? this.location.toString() : "unknown");
|
||||||
json.addProperty("platform", this.platform);
|
json.addProperty("platform", this.platform);
|
||||||
|
|
Loading…
Reference in New Issue