feat(virtual-background): Desktop share as virtual background

This commit is contained in:
tudordan7 2021-05-14 18:25:00 +03:00 committed by Jaya Allamsetty
parent 99f61ca2cd
commit 4872ce83ba
2 changed files with 5 additions and 1 deletions

View File

@ -131,7 +131,9 @@ export default class JitsiStreamBackgroundEffect {
this._outputCanvasCtx.drawImage(
this._virtualVideo,
0,
0
0,
this._inputVideoElement.width,
this._inputVideoElement.height
);
} else {
this._outputCanvasCtx.filter = `blur(${this._options.virtualBackground.blurValue}px)`;

View File

@ -1,3 +1,5 @@
// @flow
import { JitsiTrackEvents } from '../base/lib-jitsi-meet';
import { MiddlewareRegistry } from '../base/redux';
import { getLocalVideoTrack } from '../base/tracks';