Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Handles talk while muted event.

damenchoe7e7c7d5a0a4
diff --git a/conference.js b/conference.js
index 4fd421b000..bffe1f5d37 100644
--- a/conference.js
+++ b/conference.js
@@ -17,6 +17,7 @@ import mediaDeviceHelper from './modules/devices/mediaDeviceHelper';
import {reportError} from './modules/util/helpers';
import UIErrors from './modules/UI/UIErrors';
+import UIUtil from './modules/UI/util/UIUtil';
const ConnectionEvents = JitsiMeetJS.events.connection;
const ConnectionErrors = JitsiMeetJS.errors.connection;
@@ -1097,6 +1098,11 @@ export default {
APP.UI.setAudioLevel(id, lvl);
});
+ room.on(ConferenceEvents.TALK_WHILE_MUTED, () => {
+ APP.UI.showToolbar();
+ UIUtil.animateShowElement($("#talkWhileMutedPopup"), true, 5000);
+ });
+
room.on(ConferenceEvents.IN_LAST_N_CHANGED, (inLastN) => {
//FIXME
if (config.muteLocalVideoIfNotInLastN) {
diff --git a/lang/main.json b/lang/main.json
index d98229c7d5..5f51bd79ae 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -91,6 +91,7 @@
"dialpad": "Show dialpad",
"sharedVideoMutedPopup": "Your shared video has been muted so<br/>that you can talk to the other participants.",
"micMutedPopup": "Your microphone has been muted so that you<br/>would fully enjoy your shared video.",
+ "talkWhileMutedPopup": "Your microphone is muted <br/>while you are trying to talk.",
"unableToUnmutePopup": "You cannot un-mute while the shared video is on.",
"cameraDisabled": "Camera is not available",
"micDisabled": "Microphone is not available",