From c67cabdd0f91bb2e58ede440e84f9d94e35b30af Mon Sep 17 00:00:00 2001
From: Martin Klampfer <martin.klampfer@fairkom.eu>
Date: Wed, 16 Jun 2021 20:43:07 +0200
Subject: [PATCH] WIP

---
 .../imports/ui/components/actions-bar/component.jsx           | 4 ++--
 .../imports/ui/components/translations/component.jsx          | 2 +-
 .../imports/ui/services/audio-manager/index.js                | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bigbluebutton-html5/imports/ui/components/actions-bar/component.jsx b/bigbluebutton-html5/imports/ui/components/actions-bar/component.jsx
index 6f6f44fd82..8283f3f2dd 100755
--- a/bigbluebutton-html5/imports/ui/components/actions-bar/component.jsx
+++ b/bigbluebutton-html5/imports/ui/components/actions-bar/component.jsx
@@ -122,10 +122,10 @@ class ActionsBar extends PureComponent {
             }
           }
           if (result) {
-            AudioManager.setFloorOutputVolume(FLOOR_TRANSLATION_VOLUME);
+            // AudioManager.setFloorOutputVolume(FLOOR_TRANSLATION_VOLUME);
             // transaudio.volume = 1
           } else {
-            AudioManager.setFloorOutputVolume(1.0);
+            // AudioManager.setFloorOutputVolume(1.0);
           }
         }
       }, 500);
diff --git a/bigbluebutton-html5/imports/ui/components/translations/component.jsx b/bigbluebutton-html5/imports/ui/components/translations/component.jsx
index 8904bdca9c..07daf538d3 100644
--- a/bigbluebutton-html5/imports/ui/components/translations/component.jsx
+++ b/bigbluebutton-html5/imports/ui/components/translations/component.jsx
@@ -206,7 +206,7 @@ class Translations extends Component{
                         : null
                     }
                 </p>
-                <div>{intl.formatMessage(intlMessages.speechDetectionThreshold)}:</div>
+                <div>{intl.formatMessage(intlMessages.speechDetectionThresholdInfo)}:</div>
                 <form onSubmit={this.handleSubmit}>
                     <input id="speechDetectionThreshold" type="number" value={this.state.speechDetectionThreshold} onChange={this.setThreshold.bind(this)} />
                     <input type="submit" onClick={ this.updateThreshold.bind(this) } value="Set" />
diff --git a/bigbluebutton-html5/imports/ui/services/audio-manager/index.js b/bigbluebutton-html5/imports/ui/services/audio-manager/index.js
index 68da72191f..09d3b183d8 100755
--- a/bigbluebutton-html5/imports/ui/services/audio-manager/index.js
+++ b/bigbluebutton-html5/imports/ui/services/audio-manager/index.js
@@ -116,7 +116,7 @@ class AudioManager {
 
           let tCExt = parseInt((this.translationLanguageExtension+ '').charAt(2));
           if(tCExt == pLang.extension) {
-            let audioElement = document.getElementById("translation-media");
+            let audioElement = document.getElementById("remote-media");
             if(audioElement) audioElement.volume = pLang.volume;
           }
         }
-- 
GitLab