[jira] [Resolved] (OPENMEETINGS-2191) Recording file is not found

2020-03-29 Thread Maxim Solodovnik (Jira)


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

Maxim Solodovnik resolved OPENMEETINGS-2191.

Resolution: Information Provided

> Recording file is not found
> ---
>
> Key: OPENMEETINGS-2191
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M3
> Environment: Centos 7 VPS
>Reporter: LUIZ AUGUSTO MACHADO
>Assignee: Maxim Solodovnik
>Priority: Critical
>  Labels: recording
> Attachments: image-2020-03-24-10-37-20-468.png, 
> image-2020-03-24-10-38-07-290.png, image-2020-03-25-00-40-58-725.png, 
> image-2020-03-25-00-42-53-189.png, keystore_values.txt
>
>
> After I finished recording and I go to my records it shows a file with an 
> exclamation and I click on the script exclamation it opens a new windows that 
> is supposed to show me some log to resolve it. but there is nothing just a 
> message saying Recording file is not found.
> And also the recording test in webcam configuration is not working. 
>  
>  
> !image-2020-03-24-10-37-20-468.png!    !image-2020-03-24-10-38-07-290.png!



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


[jira] [Commented] (OPENMEETINGS-2191) Recording file is not found

2020-03-29 Thread LUIZ AUGUSTO MACHADO (Jira)


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

LUIZ AUGUSTO MACHADO commented on OPENMEETINGS-2191:


We resolved the problem: We need to use TURN we follow these steps

And now all of things are resolved, why don't you guys don't explain about the 
turn in the guide for centos 7? You guys need to write these steps to turn 
turnserver. 
 # mkdir /nonexistent
chmod 777 /nonexistent
 # install turn server
docker pull instrumentisto/coturn
vi /home/turnserver/turnserver.conf
listening-port=3478
listening-ip=xxx.xxx.xxx.xxx
relay-ip=xxx.xxx.xxx.xxx
external-ip=xxx.xxx.xxx.xxx
relay-threads=50
min-port=41369
max-port=65535
user=kurento:kurento
lt-cred-mech

docker run -d --network=host -v 
/home/turnserver/turnserver.conf:/etc/coturn/turnserver.conf --name turnserver 
instrumentisto/coturn -r=xxx.xxx.xxx.xxx:3478

test turnserver
[https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/]
input:
turn:xxx.xxx.xxx.xxx
kurento
kurento

operate in meetingserver docker

vi /etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini
turnURL=kurento:[kure...@xxx.xxx.xxx.xxx|mailto:kure...@xxx.xxx.xxx.xxx]:3478

reboot docker

> Recording file is not found
> ---
>
> Key: OPENMEETINGS-2191
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M3
> Environment: Centos 7 VPS
>Reporter: LUIZ AUGUSTO MACHADO
>Assignee: Maxim Solodovnik
>Priority: Critical
>  Labels: recording
> Attachments: image-2020-03-24-10-37-20-468.png, 
> image-2020-03-24-10-38-07-290.png, image-2020-03-25-00-40-58-725.png, 
> image-2020-03-25-00-42-53-189.png, keystore_values.txt
>
>
> After I finished recording and I go to my records it shows a file with an 
> exclamation and I click on the script exclamation it opens a new windows that 
> is supposed to show me some log to resolve it. but there is nothing just a 
> message saying Recording file is not found.
> And also the recording test in webcam configuration is not working. 
>  
>  
> !image-2020-03-24-10-37-20-468.png!    !image-2020-03-24-10-38-07-290.png!



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


[jira] [Commented] (OPENMEETINGS-2191) Recording file is not found

2020-03-29 Thread Maxim Solodovnik (Jira)


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

Maxim Solodovnik commented on OPENMEETINGS-2191:


# The error "screenMetaData is Null recordingId 10" means there was no 
screen-sharing
# "We can't see and listen to each other inside the room" - This means there is 
nothing to record, Steam unable to reach the server
# "We can't record." - same remark as above
# "We can't check setup" - again same as above

"You guys need to check the guide! There are problems and some links inside the 
guide. " - Installation guide is created and maintained by [~albus], with the 
help of the community

Please contact user@ mailing list
# send email with any subject and empty body to user-subscribe (at) 
openmeetings.apache.org
# reply email from robot
Congratulations: you can get help from community

It seems all your issues are caused by absence of TURN server, I would 
recommend to set one up


> Recording file is not found
> ---
>
> Key: OPENMEETINGS-2191
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M3
> Environment: Centos 7 VPS
>Reporter: LUIZ AUGUSTO MACHADO
>Assignee: Maxim Solodovnik
>Priority: Critical
>  Labels: recording
> Attachments: image-2020-03-24-10-37-20-468.png, 
> image-2020-03-24-10-38-07-290.png, image-2020-03-25-00-40-58-725.png, 
> image-2020-03-25-00-42-53-189.png, keystore_values.txt
>
>
> After I finished recording and I go to my records it shows a file with an 
> exclamation and I click on the script exclamation it opens a new windows that 
> is supposed to show me some log to resolve it. but there is nothing just a 
> message saying Recording file is not found.
> And also the recording test in webcam configuration is not working. 
>  
>  
> !image-2020-03-24-10-37-20-468.png!    !image-2020-03-24-10-38-07-290.png!



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


[jira] [Commented] (OPENMEETINGS-2191) Recording file is not found

2020-03-29 Thread LUIZ AUGUSTO MACHADO (Jira)


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

LUIZ AUGUSTO MACHADO commented on OPENMEETINGS-2191:


We reinstall follow the guite for centos 7 and again the same error: You guys 
need to check the guide! There are problems and some links inside the guide. 

1. We can't see and listen to each other inside the room

2. We can't record.

3. We can't check setup because when we click record it becomes gray and we 
cant stop and we can't click on play bottom because it is also gray. 

Ps: The new docker version there is a problem to start and we only can start 
after doing a working around. 

The guide is not enough to make it work. 

 

> Recording file is not found
> ---
>
> Key: OPENMEETINGS-2191
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M3
> Environment: Centos 7 VPS
>Reporter: LUIZ AUGUSTO MACHADO
>Assignee: Maxim Solodovnik
>Priority: Critical
>  Labels: recording
> Attachments: image-2020-03-24-10-37-20-468.png, 
> image-2020-03-24-10-38-07-290.png, image-2020-03-25-00-40-58-725.png, 
> image-2020-03-25-00-42-53-189.png, keystore_values.txt
>
>
> After I finished recording and I go to my records it shows a file with an 
> exclamation and I click on the script exclamation it opens a new windows that 
> is supposed to show me some log to resolve it. but there is nothing just a 
> message saying Recording file is not found.
> And also the recording test in webcam configuration is not working. 
>  
>  
> !image-2020-03-24-10-37-20-468.png!    !image-2020-03-24-10-38-07-290.png!



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


[openmeetings] branch master updated: no jira: cmd-admin ldap long key is corrected

2020-03-29 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 e4fc16d  no jira: cmd-admin ldap long key is corrected
e4fc16d is described below

commit e4fc16d6461bd5afb3b3416ffd725a7e65c647f2
Author: Maxim Solodovnik 
AuthorDate: Mon Mar 30 09:21:47 2020 +0700

no jira: cmd-admin ldap long key is corrected
---
 .../src/main/java/org/apache/openmeetings/cli/Admin.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/openmeetings-install/src/main/java/org/apache/openmeetings/cli/Admin.java 
b/openmeetings-install/src/main/java/org/apache/openmeetings/cli/Admin.java
index b9f110d..05d603c 100644
--- a/openmeetings-install/src/main/java/org/apache/openmeetings/cli/Admin.java
+++ b/openmeetings-install/src/main/java/org/apache/openmeetings/cli/Admin.java
@@ -132,7 +132,7 @@ public class Admin {
.addOption(new OmOption("b", 1, "b", "backup", false, 
"Backups OM"))
.addOption(new OmOption("r", 2, "r", "restore", false, 
"Restores OM"))
.addOption(new OmOption("i", 3, "i", "install", false, 
"Fill DB table, and make OM usable"))
-   .addOption(new OmOption("l", 3, "l", "LDAP", false, 
"Import LDAP users into DB"))
+   .addOption(new OmOption("l", 3, "l", "ldap", false, 
"Import LDAP users into DB"))
.addOption(new OmOption("f", 4, "f", "files", false, 
"File operations - statictics/cleanup"));
group.setRequired(true);
options.addOptionGroup(group);



[jira] [Commented] (OPENMEETINGS-2191) Recording file is not found

2020-03-29 Thread LUIZ AUGUSTO MACHADO (Jira)


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

LUIZ AUGUSTO MACHADO commented on OPENMEETINGS-2191:


The user kurento inside of the container can record .webm files in the host 
volue but it can't convert it. See the error: 

ERROR 03-29 14:20:42.005 o.a.o.c.c.RecordingConverter:111 [taskExecutor-1] - 
[startConversion]
org.apache.openmeetings.core.converter.ConversionException: screenMetaData is 
Null recordingId 10
 at 
org.apache.openmeetings.core.converter.RecordingConverter.startConversion(RecordingConverter.java:59)
 at 
org.apache.openmeetings.core.remote.StreamProcessor.lambda$startConvertion$9(StreamProcessor.java:447)
 at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 at java.base/java.lang.Thread.run(Thread.java:834) 

> Recording file is not found
> ---
>
> Key: OPENMEETINGS-2191
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M3
> Environment: Centos 7 VPS
>Reporter: LUIZ AUGUSTO MACHADO
>Assignee: Maxim Solodovnik
>Priority: Critical
>  Labels: recording
> Attachments: image-2020-03-24-10-37-20-468.png, 
> image-2020-03-24-10-38-07-290.png, image-2020-03-25-00-40-58-725.png, 
> image-2020-03-25-00-42-53-189.png, keystore_values.txt
>
>
> After I finished recording and I go to my records it shows a file with an 
> exclamation and I click on the script exclamation it opens a new windows that 
> is supposed to show me some log to resolve it. but there is nothing just a 
> message saying Recording file is not found.
> And also the recording test in webcam configuration is not working. 
>  
>  
> !image-2020-03-24-10-37-20-468.png!    !image-2020-03-24-10-38-07-290.png!



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


[jira] [Resolved] (OPENMEETINGS-2192) Access denied. You have no rights to enter this room.

2020-03-29 Thread Maxim Solodovnik (Jira)


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

Maxim Solodovnik resolved OPENMEETINGS-2192.

Fix Version/s: (was: 5.0.0-M4)
   Resolution: Not A Bug

The issue occurs only while 2 browser tabs are opened with different hashes
(due to websession is shared between tabs)

> Access denied. You have no rights to enter this room.
> -
>
> Key: OPENMEETINGS-2192
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2192
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 5.0.0-M3
>Reporter: LUIZ AUGUSTO MACHADO
>Assignee: Maxim Solodovnik
>Priority: Blocker
>  Labels: moodle
>
> When someone try to access the room from moodle it gets this erro: Access 
> denied. You have no rights to enter this room.



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


[jira] [Commented] (OPENMEETINGS-2165) OM should be more mobile friendly

2020-03-29 Thread ASF subversion and git services (Jira)


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

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

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

[OPENMEETINGS-2165] minor CSS improvements


> OM should be more mobile friendly
> -
>
> Key: OPENMEETINGS-2165
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2165
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: Mobile client
>Affects Versions: 5.0.0-M3
>Reporter: Maxim Solodovnik
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 5.0.0-M4
>
>
> OM should be more mobile friendly



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


[openmeetings] branch master updated: [OPENMEETINGS-2165] minor CSS improvements

2020-03-29 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 d0d4a5e  [OPENMEETINGS-2165] minor CSS improvements
d0d4a5e is described below

commit d0d4a5eea70c03432e3eda8739ac186130662a06
Author: Maxim Solodovnik 
AuthorDate: Sun Mar 29 22:40:43 2020 +0700

[OPENMEETINGS-2165] minor CSS improvements
---
 .../java/org/apache/openmeetings/web/room/wb/WbPanel.html  |  4 +---
 .../java/org/apache/openmeetings/web/user/chat/raw-chat.js | 14 +-
 openmeetings-web/src/main/webapp/css/raw-chat.css  | 12 
 openmeetings-web/src/main/webapp/css/raw-room.css  |  2 +-
 openmeetings-web/src/main/webapp/css/raw-wb.css| 14 +++---
 5 files changed, 22 insertions(+), 24 deletions(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.html
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.html
index e17da64..6af9ad5 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.html
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.html
@@ -64,9 +64,7 @@



-   
-   
-   
+   



diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
index 1972f55..6f30673 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
@@ -7,13 +7,9 @@ var Chat = function() {
, closedSizePx = closedSize + "px"
, emoticon = new CSSEmoticon()
, doneTypingInterval = 5000 //time in ms, 5 second for example
-   , iconOpen = 'fa-angle-up'
-   , iconOpenRoom = 'fa-angle-' + (Settings.isRtl ? 'left' : 
'right')
-   , iconClose = 'fa-angle-down'
-   , iconCloseRoom = 'fa-angle-' + (Settings.isRtl ? 'right' : 
'left')
, SEND_ENTER = 'enter', SEND_CTRL = 'ctrl'
;
-   let p, pp, ctrl, icon, tabs, openedHeight = "345px", openedWidth = 
"300px", allPrefix = "All"
+   let p, pp, ctrl, tabs, openedHeight = "345px", openedWidth = "300px", 
allPrefix = "All"
, roomPrefix = "Room ", typingTimer, audio, roomMode = false, 
globalWidth = 600
, editor = $('#chatMessage .wysiwyg-editor'), muted = false, 
sendOn, DEF_SEND
, userId, inited = false
@@ -157,11 +153,7 @@ var Chat = function() {
clearTimeout(p.data('timeout'));
pp = $('#chatPanel, #chatPopup');
ctrl = $('#chatPopup .control.block');
-   icon = $('#chatPopup .control.block i.fas');
editor = $('#chatMessage .wysiwyg-editor');
-   icon.removeClass(function(index, className) {
-   return (className.match (/(^|\s)fa-angle-\S+/g) || 
[]).join(' ');
-   });
initToolbar();
tabs = $("#chatTabs");
tabs.off().on('shown.bs.tab', function (e) {
@@ -175,11 +167,9 @@ var Chat = function() {
$('#chatTabs li:last-child a').tab('show');
});
if (roomMode) {
-   icon.addClass(isClosed() ? iconOpenRoom : 
iconCloseRoom);
_removeResize();
} else {
ctrl.attr('title', '');
-   icon.addClass(iconOpen);
p.removeClass('room opened').addClass('closed')
.off('mouseenter mouseleave')
.resizable({
@@ -339,7 +329,6 @@ var Chat = function() {
}
function _open(handler) {
if (isClosed()) {
-   icon.removeClass(roomMode ? iconOpenRoom : 
iconOpen).addClass(roomMode ? iconCloseRoom : iconClose);
ctrl.removeClass('bg-warning');
let opts;
if (roomMode) {
@@ -366,7 +355,6 @@ var Chat = function() {
}
function _close(handler) {
if (!isClosed()) {
-   icon.removeClass(roomMode ? iconCloseRoom : 
iconClose).addClass(roomMode ? iconOpenRoom : iconOpen);
let opts;
if (roomMode) {
opts = 

[jira] [Commented] (OPENMEETINGS-2167) arrange automatically video-pictures

2020-03-29 Thread ASF subversion and git services (Jira)


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

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

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

[OPENMEETINGS-2167] bottom-to-top arrange is implemented


> arrange automatically video-pictures
> 
>
> Key: OPENMEETINGS-2167
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2167
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: Audio/Video
>Affects Versions: 5.0.0-M3
>Reporter: Rene Scholz
>Assignee: Maxim Solodovnik
>Priority: Minor
> Fix For: 5.0.0-M4
>
>
> 1) there will be separate shortcut (for ex. Ctrl+Shift+A)
> 2) it will change the size of all video pods to be 120x90 (?)
> 3) it will align video pods left-to-right, bottom-to-top starting bottom left 
> corner (of OM tab? of WB area?)
> 4) Sorting: Mods first, then random



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


[openmeetings] branch master updated: [OPENMEETINGS-2167] bottom-to-top arrange is implemented

2020-03-29 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 2bc893d  [OPENMEETINGS-2167] bottom-to-top arrange is implemented
2bc893d is described below

commit 2bc893d99aa6341413059a67ba877560a12e88e7
Author: Maxim Solodovnik 
AuthorDate: Sun Mar 29 22:06:32 2020 +0700

[OPENMEETINGS-2167] bottom-to-top arrange is implemented
---
 .../apache/openmeetings/web/room/raw-video-util.js | 122 +++--
 .../apache/openmeetings/web/room/wb/WbPanel.html   |   4 +-
 openmeetings-web/src/main/webapp/css/raw-room.css  |   1 +
 3 files changed, 89 insertions(+), 38 deletions(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-video-util.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-video-util.js
index 293bd8a..40c1203 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-video-util.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-video-util.js
@@ -48,33 +48,10 @@ var VideoUtil = (function() {
const c = a.find('.wb-area .tabs .wb-tab-content');
return c.length > 0 ? $(WBA_WB_SEL) : a;
}
-   function _getPos(list, w, h) {
-   if (Room.getOptions().interview) {
-   return {left: 0, top: 0};
-   }
-   const wba = _container(), woffset = wba.offset()
-   , offsetX = 20, offsetY = 10
-   , area = {left: woffset.left, top: woffset.top, right: 
woffset.left + wba.width(), bottom: woffset.top + wba.height()};
-   const rectNew = {
-   _left: area.left
-   , _top: area.top
-   , right: area.left + w
-   , bottom: area.top + h
-   , get left() {
-   return this._left
-   }
-   , set left(l) {
-   this._left = l;
-   this.right = l + w;
-   }
-   , get top() {
-   return this._top
-   }
-   , set top(t) {
-   this._top = t;
-   this.bottom = t + h;
-   }
-   };
+   function __processTopToBottom(area, rectNew, list) {
+   const offsetX = 20
+   , offsetY = 10;
+
let minY = area.bottom, posFound;
do {
posFound = true;
@@ -100,21 +77,94 @@ var VideoUtil = (function() {
} while (!posFound);
return {left: rectNew.left, top: rectNew.top};
}
+   function __processEqualsBottomToTop(area, rectNew, list) {
+   const offsetX = 20
+   , offsetY = 10;
+
+   rectNew.bottom = area.bottom;
+   let minY = area.bottom, posFound;
+   do {
+   posFound = true;
+   for (let i = 0; i < list.length; ++i) {
+   const rect = list[i];
+   minY = Math.min(minY, rect.top);
+
+   if (rectNew.left < rect.right && rectNew.right 
> rect.left && rectNew.top < rect.bottom && rectNew.bottom > rect.top) {
+   rectNew.left = rect.right + offsetX;
+   posFound = false;
+   }
+   if (rectNew.right >= area.right) {
+   rectNew.left = area.left;
+   rectNew.bottom = Math.min(minY, 
rectNew.top) - offsetY;
+   posFound = false;
+   }
+   if (rectNew.top <= area.top) {
+   rectNew.top = area.top;
+   posFound = true;
+   break;
+   }
+   }
+   } while (!posFound);
+   return {left: rectNew.left, top: rectNew.top};
+   }
+   function _getPos(list, w, h, _processor) {
+   if (Room.getOptions().interview) {
+   return {left: 0, top: 0};
+   }
+   const wba = _container()
+   , woffset = wba.offset()
+   , area = {left: woffset.left, top: