diff --git a/openvidu-java-client/src/main/java/io/openvidu/java/client/Connection.java b/openvidu-java-client/src/main/java/io/openvidu/java/client/Connection.java index 6ba1a9e6..600ef600 100644 --- a/openvidu-java-client/src/main/java/io/openvidu/java/client/Connection.java +++ b/openvidu-java-client/src/main/java/io/openvidu/java/client/Connection.java @@ -39,7 +39,8 @@ public class Connection { private String location; private String platform; private String clientData; - private Token token; + private ConnectionOptions connectionOptions; + private String token; protected Map publishers = new ConcurrentHashMap<>(); protected List subscribers = new ArrayList<>(); @@ -49,7 +50,7 @@ public class Connection { } /** - * Returns the identifier of the connection. You can call methods + * Returns the identifier of the Connection. You can call methods * {@link io.openvidu.java.client.Session#forceDisconnect(String)} or * {@link io.openvidu.java.client.Session#updateConnection(String, TokenOptions)} * passing this property as parameter @@ -59,7 +60,7 @@ public class Connection { } /** - * Returns the status of the connection. Can be: + * Returns the status of the Connection. Can be: *