Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(live-translation): drop the enableSendingChangeEvents flag.
Jaya Allamsetty8345bfaafa12
diff --git a/config.js b/config.jsindex 7d32b2e807..63ecb01052 100644--- a/config.js+++ b/config.js@@ -250,11 +250,6 @@ var config = {// // Defaults to 0.15. Ignored on iOS, where the original is muted instead because the// // element volume cannot be lowered there.// duckedVolume: 0.15,- //- // // Whether to process the bridge's translated-source sending notifications, which drive the- // // per-participant "receiving translated audio" indicator. Off by default until the bridge- // // emits stop notifications as well as start ones.- // enableSendingChangeEvents: false,// },// Noise suppression configuration. By default rnnoise is used. Optionally Krispdiff --git a/react/features/audio-translation/middleware.any.ts b/react/features/audio-translation/middleware.any.tsindex f7fc1606fc..795c712135 100644--- a/react/features/audio-translation/middleware.any.ts+++ b/react/features/audio-translation/middleware.any.ts@@ -117,7 +117,7 @@ StateListenerRegistry.register(*/StateListenerRegistry.register(state => state['features/base/conference'].conference,- (conference, { dispatch, getState }, previousConference) => {+ (conference, { dispatch }, previousConference) => {if (previousConference) {dispatch(clearReceivingTranslatedSources());dispatch(setTranslationListeners([]));@@ -129,12 +129,6 @@ StateListenerRegistry.register(conference.on(JitsiConferenceEvents.TRANSLATED_SOURCE_SENDING_CHANGED,({ sending, sourceName, timestamp }: { sending: boolean; sourceName: string; timestamp: number; }) => {- // The bridge currently emits only sending=true, which would leave the receiving state- // stuck on; ignore the events unless explicitly enabled.- if (!getState()['features/base/config'].audioTranslation?.enableSendingChangeEvents) {- return;- }-dispatch(updateTranslatedSourceSending(sourceName, sending, timestamp));});diff --git a/react/features/base/config/configType.ts b/react/features/base/config/configType.tsindex ee109b5208..2a2c788b59 100644--- a/react/features/base/config/configType.ts+++ b/react/features/base/config/configType.ts@@ -224,7 +224,6 @@ export interface IConfig {*/audioTranslation?: {duckedVolume?: number;- enableSendingChangeEvents?: boolean;enabled?: boolean;};/**