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 163ccea9b [OPENMEETINGS-2253] self-echo 'fix' is reverted
163ccea9b is described below

commit 163ccea9b52ef01954ad83ae207aeef2705da43e
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Wed Dec 21 22:18:57 2022 +0700

    [OPENMEETINGS-2253] self-echo 'fix' is reverted
---
 openmeetings-web/src/main/front/room/src/video.js        | 3 ---
 openmeetings-web/src/main/front/settings/src/settings.js | 2 --
 2 files changed, 5 deletions(-)

diff --git a/openmeetings-web/src/main/front/room/src/video.js 
b/openmeetings-web/src/main/front/room/src/video.js
index 5ce436391..6f0a9582b 100644
--- a/openmeetings-web/src/main/front/room/src/video.js
+++ b/openmeetings-web/src/main/front/room/src/video.js
@@ -442,9 +442,6 @@ module.exports = class Video {
                                state.video.attr('poster', null);
                                vc.addClass('audio-only');
                        }
-                       if (self) {
-                               state.video[0].muted = true;
-                       }
                        vc.append(state.video);
                        __updateVideo(state);
                }
diff --git a/openmeetings-web/src/main/front/settings/src/settings.js 
b/openmeetings-web/src/main/front/settings/src/settings.js
index 8ba9931ad..795108ff1 100644
--- a/openmeetings-web/src/main/front/settings/src/settings.js
+++ b/openmeetings-web/src/main/front/settings/src/settings.js
@@ -209,7 +209,6 @@ function _readValues(msg, func) {
                        }, msg);
                        navigator.mediaDevices.getUserMedia(cnts)
                                .then(stream => {
-                                       vid[0].muted = true;
                                        VideoUtil.playSrc(vid[0], stream);
                                        options.mediaStream = stream;
 
@@ -407,7 +406,6 @@ function _onKMessage(m) {
                                .then(() => {
                                        const stream = rtcPeer.stream;
                                        if (stream) {
-                                               vid[0].muted = false;
                                                VideoUtil.playSrc(vid[0], 
stream);
                                                lm.show();
                                                level = new MicLevel();

Reply via email to