Skip to content

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

fix(dominant-speaker): update dominant speaker in redux

Leonard Kim088fe87e314a
diff --git a/conference.js b/conference.js
index 4ef7de96fe..4ae8e3fe91 100644
--- a/conference.js
+++ b/conference.js
@@ -46,6 +46,7 @@ import {
setVideoMuted
} from './react/features/base/media';
import {
+ dominantSpeakerChanged,
localParticipantConnectionStatusChanged,
localParticipantRoleChanged,
MAX_DISPLAY_NAME_LENGTH,
@@ -1714,6 +1715,8 @@ export default {
APP.UI.participantConnectionStatusChanged(id);
});
room.on(ConferenceEvents.DOMINANT_SPEAKER_CHANGED, (id) => {
+ APP.store.dispatch(dominantSpeakerChanged(id));
+
if (this.isLocalId(id)) {
this.isDominantSpeaker = true;
this.setRaisedHand(false);