fix(blur): Disable for SS
This commit is contained in:
parent
c5111bb359
commit
8f79779ca7
|
@ -160,7 +160,7 @@ export default class JitsiStreamBlurEffect {
|
|||
* false otherwise.
|
||||
*/
|
||||
isEnabled(jitsiLocalTrack) {
|
||||
return jitsiLocalTrack.isVideoTrack();
|
||||
return jitsiLocalTrack.isVideoTrack() && jitsiLocalTrack.videoType === 'camera';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue