fix(blur): Disable for SS
This commit is contained in:
parent
c5111bb359
commit
8f79779ca7
|
@ -160,7 +160,7 @@ export default class JitsiStreamBlurEffect {
|
||||||
* false otherwise.
|
* false otherwise.
|
||||||
*/
|
*/
|
||||||
isEnabled(jitsiLocalTrack) {
|
isEnabled(jitsiLocalTrack) {
|
||||||
return jitsiLocalTrack.isVideoTrack();
|
return jitsiLocalTrack.isVideoTrack() && jitsiLocalTrack.videoType === 'camera';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -918,6 +918,7 @@ class Toolbox extends Component<Props, State> {
|
||||||
_etherpadInitialized,
|
_etherpadInitialized,
|
||||||
_feedbackConfigured,
|
_feedbackConfigured,
|
||||||
_fullScreen,
|
_fullScreen,
|
||||||
|
_screensharing,
|
||||||
_sharingVideo,
|
_sharingVideo,
|
||||||
t
|
t
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
@ -973,7 +974,7 @@ class Toolbox extends Component<Props, State> {
|
||||||
<VideoBlurButton
|
<VideoBlurButton
|
||||||
key = 'videobackgroundblur'
|
key = 'videobackgroundblur'
|
||||||
showLabel = { true }
|
showLabel = { true }
|
||||||
visible = { this._shouldShowButton('videobackgroundblur') } />,
|
visible = { this._shouldShowButton('videobackgroundblur') && !_screensharing } />,
|
||||||
<SettingsButton
|
<SettingsButton
|
||||||
key = 'settings'
|
key = 'settings'
|
||||||
showLabel = { true }
|
showLabel = { true }
|
||||||
|
|
Loading…
Reference in New Issue