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(audio-configs) Fix startWithAudioMuted overrriding startSilent (#12251)
Horatiu Muresanca54533153c5
diff --git a/conference.js b/conference.jsindex 45ddb99c2b..02fe8a8f41 100644--- a/conference.js+++ b/conference.js@@ -791,7 +791,6 @@ export default {startAudioOnly: config.startAudioOnly,startScreenSharing: config.startScreenSharing,startWithAudioMuted: getStartWithAudioMuted(APP.store.getState())- || config.startSilent|| isUserInteractionRequiredForUnmute(APP.store.getState()),startWithVideoMuted: getStartWithVideoMuted(APP.store.getState())|| isUserInteractionRequiredForUnmute(APP.store.getState())diff --git a/react/features/base/media/functions.ts b/react/features/base/media/functions.tsindex da337637f8..5b5f8cd21c 100644--- a/react/features/base/media/functions.ts+++ b/react/features/base/media/functions.ts@@ -74,7 +74,8 @@ function _isVideoMutedByAuthority(* @returns {boolean} - The computed startWithAudioMuted value that will be used.*/export function getStartWithAudioMuted(stateful: IStateful) {- return Boolean(getPropertyValue(stateful, 'startWithAudioMuted', START_WITH_AUDIO_VIDEO_MUTED_SOURCES));+ return Boolean(getPropertyValue(stateful, 'startWithAudioMuted', START_WITH_AUDIO_VIDEO_MUTED_SOURCES))+ || Boolean(getPropertyValue(stateful, 'startSilent', START_WITH_AUDIO_VIDEO_MUTED_SOURCES));}/**