mirror of https://github.com/OpenVidu/openvidu.git
openvidu-java-client: get customSessionId from json response
parent
c917164657
commit
e30b365f1d
|
@ -513,6 +513,8 @@ public class Session {
|
||||||
}
|
}
|
||||||
if (this.properties != null && this.properties.customSessionId() != null) {
|
if (this.properties != null && this.properties.customSessionId() != null) {
|
||||||
builder.customSessionId(this.properties.customSessionId());
|
builder.customSessionId(this.properties.customSessionId());
|
||||||
|
} else if (json.containsKey("customSessionId")) {
|
||||||
|
builder.customSessionId((String) json.get("customSessionId"));
|
||||||
}
|
}
|
||||||
this.properties = builder.build();
|
this.properties = builder.build();
|
||||||
JSONArray jsonArrayConnections = (JSONArray) ((JSONObject) json.get("connections")).get("content");
|
JSONArray jsonArrayConnections = (JSONArray) ((JSONObject) json.get("connections")).get("content");
|
||||||
|
|
Loading…
Reference in New Issue