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 b11d6b4 [OPENMEETINGS-2252] mute/mute.others hotkeys seems to work
b11d6b4 is described below
commit b11d6b4cd2a0bf846ca010dd900f6e793636e155
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Mon Apr 13 23:00:06 2020 +0700
[OPENMEETINGS-2252] mute/mute.others hotkeys seems to work
---
.../src/main/java/org/apache/openmeetings/web/room/raw-room.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-room.js
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-room.js
index 6329315..214982c 100644
---
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-room.js
+++
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-room.js
@@ -57,9 +57,9 @@ var Room = (function() {
}
}
function _getSelfAudioClient() {
- const vw = $('#video' + Room.getOptions().uid);
+ const vw =
$('.video-container[data-client-type=WEBCAM][data-client-uid=' +
Room.getOptions().uid + ']');
if (vw.length > 0) {
- const v = vw.data();
+ const v = vw.first().data();
if (VideoUtil.hasMic(v.stream())) {
return v;
}