fix(blur): on FF
This commit is contained in:
parent
f030a3f1fb
commit
1b4bdb5142
|
@ -28,6 +28,10 @@ export default class JitsiStreamBlurEffect {
|
||||||
this._onVideoFrameTimer = this._onVideoFrameTimer.bind(this);
|
this._onVideoFrameTimer = this._onVideoFrameTimer.bind(this);
|
||||||
|
|
||||||
this._outputCanvasElement = document.createElement('canvas');
|
this._outputCanvasElement = document.createElement('canvas');
|
||||||
|
|
||||||
|
// Workaround for FF issue https://bugzilla.mozilla.org/show_bug.cgi?id=1388974
|
||||||
|
this._outputCanvasElement.getContext('2d');
|
||||||
|
|
||||||
this._maskCanvasElement = document.createElement('canvas');
|
this._maskCanvasElement = document.createElement('canvas');
|
||||||
this._inputVideoElement = document.createElement('video');
|
this._inputVideoElement = document.createElement('video');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue