feat(virtual-background): Desktop share as virtual background
This commit is contained in:
parent
99f61ca2cd
commit
4872ce83ba
|
@ -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)`;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// @flow
|
||||
|
||||
import { JitsiTrackEvents } from '../base/lib-jitsi-meet';
|
||||
import { MiddlewareRegistry } from '../base/redux';
|
||||
import { getLocalVideoTrack } from '../base/tracks';
|
||||
|
|
Loading…
Reference in New Issue