Skip to content

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

Clean up audio level after previous speaker

Maxim Voloshin4ae0d1b8824d
diff --git a/modules/UI/videolayout/LargeVideoManager.js b/modules/UI/videolayout/LargeVideoManager.js
index 895d19b27f..e09592b3fd 100644
--- a/modules/UI/videolayout/LargeVideoManager.js
+++ b/modules/UI/videolayout/LargeVideoManager.js
@@ -178,6 +178,11 @@ export default class LargeVideoManager {
// show the avatar on large if needed
container.showAvatar(showAvatar);
+ // clean up audio level after previous speaker
+ if (showAvatar) {
+ this.updateLargeVideoAudioLevel(0);
+ }
+
// Make sure no notification about remote failure is shown as
// it's UI conflicts with the one for local connection interrupted.
if (APP.conference.isConnectionInterrupted()) {