Explorar el Código

fix(blur): on FF

master
Hristo Terezov hace 6 años
padre
commit
1b4bdb5142
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      react/features/stream-effects/blur/JitsiStreamBlurEffect.js

+ 4
- 0
react/features/stream-effects/blur/JitsiStreamBlurEffect.js Ver fichero

@@ -28,6 +28,10 @@ export default class JitsiStreamBlurEffect {
28 28
         this._onVideoFrameTimer = this._onVideoFrameTimer.bind(this);
29 29
 
30 30
         this._outputCanvasElement = document.createElement('canvas');
31
+
32
+        // Workaround for FF issue https://bugzilla.mozilla.org/show_bug.cgi?id=1388974
33
+        this._outputCanvasElement.getContext('2d');
34
+
31 35
         this._maskCanvasElement = document.createElement('canvas');
32 36
         this._inputVideoElement = document.createElement('video');
33 37
 

Loading…
Cancelar
Guardar