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(blur): Disable for SS

Hristo Terezov8f79779ca702
diff --git a/react/features/stream-effects/blur/JitsiStreamBlurEffect.js b/react/features/stream-effects/blur/JitsiStreamBlurEffect.js
index 612ed6616e..3e53e0a7bb 100644
--- a/react/features/stream-effects/blur/JitsiStreamBlurEffect.js
+++ b/react/features/stream-effects/blur/JitsiStreamBlurEffect.js
@@ -160,7 +160,7 @@ export default class JitsiStreamBlurEffect {
* false otherwise.
*/
isEnabled(jitsiLocalTrack) {
- return jitsiLocalTrack.isVideoTrack();
+ return jitsiLocalTrack.isVideoTrack() && jitsiLocalTrack.videoType === 'camera';
}
}
diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.js
index ce617a9adb..398fde1064 100644
--- a/react/features/toolbox/components/web/Toolbox.js
+++ b/react/features/toolbox/components/web/Toolbox.js
@@ -918,6 +918,7 @@ class Toolbox extends Component<Props, State> {
_etherpadInitialized,
_feedbackConfigured,
_fullScreen,
+ _screensharing,
_sharingVideo,
t
} = this.props;
@@ -973,7 +974,7 @@ class Toolbox extends Component<Props, State> {
<VideoBlurButton
key = 'videobackgroundblur'
showLabel = { true }
- visible = { this._shouldShowButton('videobackgroundblur') } />,
+ visible = { this._shouldShowButton('videobackgroundblur') && !_screensharing } />,
<SettingsButton
key = 'settings'
showLabel = { true }