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
feat(noise-suppression): add toggle noise-suppression API (#11968)
Andrei Gavrilescu1abc6b1e4a55
diff --git a/modules/API/API.js b/modules/API/API.jsindex c3da59db58..dff354f391 100644--- a/modules/API/API.js+++ b/modules/API/API.js@@ -75,6 +75,7 @@ import {resizeLargeVideo} from '../../react/features/large-video/actions.web';import { toggleLobbyMode, answerKnockingParticipant } from '../../react/features/lobby/actions';+import { setNoiseSuppressionEnabled } from '../../react/features/noise-suppression/actions';import {hideNotification,NOTIFICATION_TIMEOUT_TYPE,@@ -380,6 +381,9 @@ function initCommands() {sendAnalytics(createApiEvent('screen.sharing.toggled'));toggleScreenSharing(options.enable);},+ 'set-noise-suppression-enabled': (options = {}) => {+ APP.store.dispatch(setNoiseSuppressionEnabled(options.enabled));+ },'toggle-subtitles': () => {APP.store.dispatch(toggleRequestingSubtitles());},diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.jsindex f647d0388e..9bbcb24e27 100644--- a/modules/API/external/external_api.js+++ b/modules/API/external/external_api.js@@ -60,6 +60,7 @@ const commands = {setFollowMe: 'set-follow-me',setLargeVideoParticipant: 'set-large-video-participant',setMediaEncryptionKey: 'set-media-encryption-key',+ setNoiseSuppressionEnabled: 'set-noise-suppression-enabled',setParticipantVolume: 'set-participant-volume',setSubtitles: 'set-subtitles',setTileView: 'set-tile-view',@@ -79,9 +80,9 @@ const commands = {toggleFilmStrip: 'toggle-film-strip',toggleLobby: 'toggle-lobby',toggleModeration: 'toggle-moderation',+ toggleNoiseSuppression: 'toggle-noise-suppression',toggleParticipantsPane: 'toggle-participants-pane',toggleRaiseHand: 'toggle-raise-hand',- toggleShareAudio: 'toggle-share-audio',toggleShareScreen: 'toggle-share-screen',toggleSubtitles: 'toggle-subtitles',toggleTileView: 'toggle-tile-view',