[jira] [Resolved] (OPENMEETINGS-2320) Camera resolution is not taken over immediatly

2020-06-11 Thread Maxim Solodovnik (Jira)


 [ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik resolved OPENMEETINGS-2320.

Fix Version/s: 5.0.0
   Resolution: Fixed

Should be fixed
Will appreciate if you can test :))

> Camera resolution is not taken over immediatly
> --
>
> Key: OPENMEETINGS-2320
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2320
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M4
>Reporter: Andreas
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 5.0.0
>
>
> When I am in a room and choose a different resolution for the camera, it is 
> not taken over emmediatly. I have to leave the room and enter it again to get 
> the new resolution.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2320) Camera resolution is not taken over immediatly

2020-06-11 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133911#comment-17133911
 ] 

ASF subversion and git services commented on OPENMEETINGS-2320:
---

Commit d5473507d7c27fb3d3009958b28b8e0b3c7832f1 in openmeetings's branch 
refs/heads/master from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=d547350 ]

[OPENMEETINGS-2320] av settings are immediately in effect


> Camera resolution is not taken over immediatly
> --
>
> Key: OPENMEETINGS-2320
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2320
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M4
>Reporter: Andreas
>Assignee: Maxim Solodovnik
>Priority: Major
>
> When I am in a room and choose a different resolution for the camera, it is 
> not taken over emmediatly. I have to leave the room and enter it again to get 
> the new resolution.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OPENMEETINGS-2389) Installation - minimum version Java and error messages in Apache Tomcat vs OpenMeetings webapp

2020-06-11 Thread Maxim Solodovnik (Jira)


 [ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik resolved OPENMEETINGS-2389.

Resolution: Fixed

I believe this one is fixed
Documentation is updated

> Installation - minimum version Java and error messages in Apache Tomcat vs 
> OpenMeetings webapp
> --
>
> Key: OPENMEETINGS-2389
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2389
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Installer
>Affects Versions: 5.0.0-M4
>Reporter: Sebastian Wagner
>Priority: Minor
> Fix For: 5.0.0
>
>
> Its a bit confusing with the installer:
> OpenMeetings 5.x requires Java11, but when running the startup.sh script it 
> will tell you first: Minimum version is 52 (which is java8)
>  
> {code:java}
> Using CLASSPATH:       
> /home/openmeetings/apache-openmeetings-5.0.0-SNAPSHOT/bin/bootstrap.jar:/home/openmeetings/apache-openmeetings-5.0.0-SNAPSHOT/bin/tomcat-juli.jar
> Exception in thread "main" java.lang.UnsupportedClassVersionError: 
> org/apache/catalina/startup/Bootstrap : Unsupported major.minor version 52.0
> {code}
>  
> Cause that is the minimum version for the Apache Tomcat server that 
> OpenMeetings is packaged inside.
> But if you try java8 it will just not startup with:
> {code:java}
> 07-Jun-2020 05:34:40.770 INFO [main] 
> org.apache.catalina.core.ApplicationContext.log No Spring 
> WebApplicationInitializer types detected on classpath
> 07-Jun-2020 05:34:40.772 SEVERE [main] 
> org.apache.catalina.core.StandardContext.listenerStart Error configuring 
> application listener of class [org.apache.openmeetings.util.OMContextListener]
>  java.lang.UnsupportedClassVersionError: 
> org/apache/openmeetings/util/OMContextListener has been compiled by a more 
> recent version of the Java Runtime (class file version 55.0), this version of 
> the Java Runtime only recognizes class file versions up to 52.0 (unable to 
> load class [org.apache.openmeetings.util.OMContextListener])
> {code}
> And it will actually not create above logs, unless you manually edit add some 
> logging.properties as it won't even start the logger context.
> But in fact OpenMeetings require Java11.
> This could be probably be improved to just clearly make Java11 minimum 
> requirement and fail right from the start with binary version 55.0 error.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[openmeetings] branch master updated: [OPENMEETINGS-2320] av settings are immediately in effect

2020-06-11 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
 new d547350  [OPENMEETINGS-2320] av settings are immediately in effect
d547350 is described below

commit d5473507d7c27fb3d3009958b28b8e0b3c7832f1
Author: Maxim Solodovnik 
AuthorDate: Fri Jun 12 11:23:19 2020 +0700

[OPENMEETINGS-2320] av settings are immediately in effect
---
 .../openmeetings/db/entity/basic/Client.java   |  6 +++
 .../apache/openmeetings/web/room/RoomPanel.java| 25 
 .../apache/openmeetings/web/room/raw-settings.js   | 17 
 .../openmeetings/web/room/raw-video-manager.js |  2 +
 .../org/apache/openmeetings/web/room/raw-video.js  | 15 ++-
 .../openmeetings/web/room/sidebar/RoomSidebar.java | 47 --
 6 files changed, 54 insertions(+), 58 deletions(-)

diff --git 
a/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/basic/Client.java
 
b/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/basic/Client.java
index 46166aa..cdf463b 100644
--- 
a/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/basic/Client.java
+++ 
b/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/basic/Client.java
@@ -31,6 +31,7 @@ import java.util.Map.Entry;
 import java.util.Optional;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
+import java.util.stream.Stream;
 
 import org.apache.openmeetings.db.dao.user.UserDao;
 import org.apache.openmeetings.db.entity.IDataProviderEntity;
@@ -245,6 +246,11 @@ public class Client implements IDataProviderEntity, 
IWsClient {
.findFirst();
}
 
+   public Stream getCamStreams() {
+   return streams.values().stream()
+   .filter(sd -> StreamType.WEBCAM == 
sd.getType());
+   }
+
public Client restoreActivities(StreamDesc sd) {
synchronized (activities) {
Set aa = new HashSet<>(sd.sactivities);
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/RoomPanel.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/RoomPanel.java
index fba8f99..3245256 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/RoomPanel.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/RoomPanel.java
@@ -19,6 +19,7 @@
 package org.apache.openmeetings.web.room;
 
 import static java.time.Duration.ZERO;
+import static 
org.apache.openmeetings.core.remote.KurentoHandler.activityAllowed;
 import static 
org.apache.openmeetings.core.util.ChatWebSocketHelper.ID_USER_PREFIX;
 import static org.apache.openmeetings.util.OmFileHelper.EXTENSION_PDF;
 import static org.apache.openmeetings.web.app.WebSession.getDateFormat;
@@ -69,6 +70,7 @@ import org.apache.openmeetings.web.room.wb.AbstractWbPanel;
 import org.apache.openmeetings.web.room.wb.InterviewWbPanel;
 import org.apache.openmeetings.web.room.wb.WbAction;
 import org.apache.openmeetings.web.room.wb.WbPanel;
+import org.apache.openmeetings.web.util.ExtendedClientProperties;
 import org.apache.openmeetings.web.util.TouchPunchResourceReference;
 import org.apache.wicket.AttributeModifier;
 import org.apache.wicket.Component;
@@ -231,6 +233,7 @@ public class RoomPanel extends BasePanel {
}
};
Component eventDetail = new 
WebMarkupContainer(EVENT_DETAILS_ID).setVisible(false);
+   private boolean avInited = false;
 
@SpringBean
private ClientManager cm;
@@ -767,6 +770,28 @@ public class RoomPanel extends BasePanel {
wb.processWbAction(a, o.optJSONObject("data"), 
handler);
} else if ("room".equals(type)) {
sidebar.roomAction(handler, o);
+   } else if ("av".equals(type)) {
+   ExtendedClientProperties cp = 
WebSession.get().getExtendedProperties();
+   Client c = 
cp.setSettings(o.optJSONObject("settings")).update(getClient());
+   if (!avInited) {
+   avInited = true;
+   if (Room.Type.CONFERENCE == 
r.getType()) {
+   if (!activityAllowed(c, 
Client.Activity.AUDIO, c.getRoom())) {
+   
c.allow(Room.Right.AUDIO);
+   }
+   if (!c.getRoom().isAudioOnly() 
&& !activityAllowed(c, Client.Activity.VIDEO, c.getRoom())) {
+   
c.allow(Room.Right.VIDEO);
+   }
+ 

[jira] [Resolved] (OPENMEETINGS-2392) Fallo de Audio y Video Openmeetings 5.0.0 M4. A traves de la LAN funciona pero a traves de Internet solo sale el perfil. Uso Docker y KMS en DEBIAN 10

2020-06-11 Thread Maxim Solodovnik (Jira)


 [ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik resolved OPENMEETINGS-2392.

Resolution: Invalid

Please create JIRA items in English 

> Fallo de Audio y Video Openmeetings 5.0.0 M4. A traves de la LAN funciona 
> pero a traves de Internet solo sale el perfil. Uso Docker y KMS en DEBIAN 10
> --
>
> Key: OPENMEETINGS-2392
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2392
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M4
>Reporter: Julio Cesar Moreton Olmedo
>Assignee: Maxim Solodovnik
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (OPENMEETINGS-2392) Fallo de Audio y Video Openmeetings 5.0.0 M4. A traves de la LAN funciona pero a traves de Internet solo sale el perfil. Uso Docker y KMS en DEBIAN 10

2020-06-11 Thread Julio Cesar Moreton Olmedo (Jira)
Julio Cesar Moreton Olmedo created OPENMEETINGS-2392:


 Summary: Fallo de Audio y Video Openmeetings 5.0.0 M4. A traves de 
la LAN funciona pero a traves de Internet solo sale el perfil. Uso Docker y KMS 
en DEBIAN 10
 Key: OPENMEETINGS-2392
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2392
 Project: Openmeetings
  Issue Type: Bug
  Components: Audio/Video
Affects Versions: 5.0.0-M4
Reporter: Julio Cesar Moreton Olmedo
Assignee: Maxim Solodovnik






--
This message was sent by Atlassian Jira
(v8.3.4#803005)