Author: solomax
Date: Wed Jan 11 09:56:20 2017
New Revision: 1778263

URL: http://svn.apache.org/viewvc?rev=1778263&view=rev
Log:
[OPENMEETINGS-1376] build should be fixed

Modified:
    
openmeetings/application/trunk/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Client.java

Modified: 
openmeetings/application/trunk/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Client.java
URL: 
http://svn.apache.org/viewvc/openmeetings/application/trunk/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Client.java?rev=1778263&r1=1778262&r2=1778263&view=diff
==============================================================================
--- 
openmeetings/application/trunk/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Client.java
 (original)
+++ 
openmeetings/application/trunk/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Client.java
 Wed Jan 11 09:56:20 2017
@@ -61,11 +61,15 @@ public class Client implements IDataProv
        private final Set<Activity> activities = new HashSet<>();
        private final Date connectedSince;
        private Pod pod;
+       private int cam = -1;
+       private int mic = -1;
+       private int width = 0;
+       private int height = 0;
 
        public Client(String sessionId, Long userId) {
                this(sessionId, 0, userId);
        }
-       
+
        public Client(String sessionId, int pageId, Long userId) {
                this.sessionId = sessionId;
                this.pageId = pageId;
@@ -196,6 +200,46 @@ public class Client implements IDataProv
                }
        }
 
+       public boolean isCamEnabled() {
+               return cam > -1;
+       }
+
+       public int getCam() {
+               return cam;
+       }
+
+       public void setCam(int cam) {
+               this.cam = cam;
+       }
+
+       public boolean isMicEnabled() {
+               return mic > -1;
+       }
+
+       public int getMic() {
+               return mic;
+       }
+
+       public void setMic(int mic) {
+               this.mic = mic;
+       }
+
+       public int getWidth() {
+               return width;
+       }
+
+       public void setWidth(int width) {
+               this.width = width;
+       }
+
+       public int getHeight() {
+               return height;
+       }
+
+       public void setHeight(int height) {
+               this.height = height;
+       }
+
        @Override
        public int hashCode() {
                final int prime = 31;


Reply via email to