소스 검색

fix(blur): on FF

master
Hristo Terezov 6 년 전
부모
커밋
1b4bdb5142
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      react/features/stream-effects/blur/JitsiStreamBlurEffect.js

+ 4
- 0
react/features/stream-effects/blur/JitsiStreamBlurEffect.js 파일 보기

@@ -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…
취소
저장