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-only) Do not unmute camera when SS is in progress. If the audio-only mode is automatically disabled when user starts a screenshare while in audio-only mode, do not unmute the camera track.
Jaya Allamsetty0308ba71b13d
diff --git a/conference.js b/conference.jsindex 2fbf726e3a..daa1d27ecb 100644--- a/conference.js+++ b/conference.js@@ -1759,12 +1759,12 @@ export default {return Promise.reject('Cannot toggle screen sharing: not supported.');}- if (this.isAudioOnly()) {- APP.store.dispatch(setAudioOnly(false));- }if (toggle) {try {await this._switchToScreenSharing(options);+ if (this.isAudioOnly()) {+ APP.store.dispatch(setAudioOnly(false));+ }return;} catch (err) {@@ -2653,13 +2653,9 @@ export default {// muteVideo logic in such case.const tracks = APP.store.getState()['features/base/tracks'];const isTrackInRedux- = Boolean(- tracks.find(- track => track.jitsiTrack- && track.jitsiTrack.getType() === 'video'));-+ = Boolean(tracks.find(track => track.jitsiTrack && track.jitsiTrack.getType() === MEDIA_TYPE.VIDEO));- if (isTrackInRedux) {+ if (isTrackInRedux && !this.isSharingScreen) {this.muteVideo(audioOnly);}