Преглед на файлове

feat(premeeting-screen) add virtual background functionality

master
Tudor D. Pop преди 4 години
родител
ревизия
8b315846b9
No account linked to committer's email address
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3
    0
      react/features/base/premeeting/components/web/PreMeetingScreen.js

+ 3
- 0
react/features/base/premeeting/components/web/PreMeetingScreen.js Целия файл

@@ -3,6 +3,8 @@
3 3
 import React, { PureComponent } from 'react';
4 4
 
5 5
 import { AudioSettingsButton, VideoSettingsButton } from '../../../../toolbox/components/web';
6
+import { VideoBackgroundButton } from '../../../../virtual-background';
7
+import { checkBlurSupport } from '../../../../virtual-background/functions';
6 8
 import { Avatar } from '../../../avatar';
7 9
 import { allowUrlSharing } from '../../functions';
8 10
 
@@ -114,6 +116,7 @@ export default class PreMeetingScreen extends PureComponent<Props> {
114 116
                             <div className = 'toolbox-content-items'>
115 117
                                 <AudioSettingsButton visible = { true } />
116 118
                                 <VideoSettingsButton visible = { true } />
119
+                                <VideoBackgroundButton visible = { checkBlurSupport() } />
117 120
                             </div>
118 121
                         </div>
119 122
                     </div>

Loading…
Отказ
Запис