Parcourir la source

config: remove unneeded option

master
Saúl Ibarra Corretgé il y a 5 ans
Parent
révision
9cc05ef838
2 fichiers modifiés avec 7 ajouts et 29 suppressions
  1. 0
    5
      config.js
  2. 7
    24
      react/features/toolbox/components/web/Toolbox.js

+ 0
- 5
config.js Voir le fichier

@@ -264,11 +264,6 @@ var config = {
264 264
     // a call is hangup.
265 265
     // enableClosePage: false,
266 266
 
267
-    // Enabling pre join page will add an additional step before starting the meeting,
268
-    // where the user can configure its devices and choose the way he
269
-    // joins audio (by phone/or web).
270
-    // prejoinPageEnabled: false,
271
-
272 267
     // Disable hiding of remote thumbnails when in a 1-on-1 conference call.
273 268
     // disable1On1Mode: false,
274 269
 

+ 7
- 24
react/features/toolbox/components/web/Toolbox.js Voir le fichier

@@ -71,7 +71,6 @@ import {
71 71
     setOverflowMenuVisible,
72 72
     setToolbarHovered
73 73
 } from '../../actions';
74
-import AudioMuteButton from '../AudioMuteButton';
75 74
 import AudioSettingsButton from './AudioSettingsButton';
76 75
 import DownloadButton from '../DownloadButton';
77 76
 import { isToolboxVisible } from '../../functions';
@@ -81,7 +80,6 @@ import OverflowMenuButton from './OverflowMenuButton';
81 80
 import OverflowMenuProfileItem from './OverflowMenuProfileItem';
82 81
 import MuteEveryoneButton from './MuteEveryoneButton';
83 82
 import ToolbarButton from './ToolbarButton';
84
-import VideoMuteButton from '../VideoMuteButton';
85 83
 import VideoSettingsButton from './VideoSettingsButton';
86 84
 import {
87 85
     ClosedCaptionButton
@@ -128,11 +126,6 @@ type Props = {
128 126
      */
129 127
     _fullScreen: boolean,
130 128
 
131
-    /**
132
-     * Whether or not the prejoin page is enabled.
133
-     */
134
-    _prejoinPageEnabled: boolean,
135
-
136 129
     /**
137 130
      * Whether or not the tile view is enabled.
138 131
      */
@@ -1130,13 +1123,9 @@ class Toolbox extends Component<Props, State> {
1130 1123
      */
1131 1124
     _renderAudioButton() {
1132 1125
         return this._shouldShowButton('microphone')
1133
-            ? this.props._prejoinPageEnabled
1134
-                ? <AudioSettingsButton
1135
-                    key = 'asb'
1136
-                    visible = { true } />
1137
-                : <AudioMuteButton
1138
-                    key = 'amb'
1139
-                    visible = { true } />
1126
+            ? <AudioSettingsButton
1127
+                key = 'asb'
1128
+                visible = { true } />
1140 1129
             : null;
1141 1130
     }
1142 1131
 
@@ -1147,13 +1136,9 @@ class Toolbox extends Component<Props, State> {
1147 1136
      */
1148 1137
     _renderVideoButton() {
1149 1138
         return this._shouldShowButton('camera')
1150
-            ? this.props._prejoinPageEnabled
1151
-                ? <VideoSettingsButton
1152
-                    key = 'vsb'
1153
-                    visible = { true } />
1154
-                : <VideoMuteButton
1155
-                    key = 'vmb'
1156
-                    visible = { true } />
1139
+            ? <VideoSettingsButton
1140
+                key = 'vsb'
1141
+                visible = { true } />
1157 1142
             : null;
1158 1143
     }
1159 1144
 
@@ -1343,8 +1328,7 @@ function _mapStateToProps(state) {
1343 1328
     const {
1344 1329
         callStatsID,
1345 1330
         enableFeaturesBasedOnToken,
1346
-        iAmRecorder,
1347
-        prejoinPageEnabled
1331
+        iAmRecorder
1348 1332
     } = state['features/base/config'];
1349 1333
     const sharedVideoStatus = state['features/shared-video'].status;
1350 1334
     const {
@@ -1395,7 +1379,6 @@ function _mapStateToProps(state) {
1395 1379
         _localParticipantID: localParticipant.id,
1396 1380
         _localRecState: localRecordingStates,
1397 1381
         _overflowMenuVisible: overflowMenuVisible,
1398
-        _prejoinPageEnabled: prejoinPageEnabled,
1399 1382
         _raisedHand: localParticipant.raisedHand,
1400 1383
         _screensharing: localVideo && localVideo.videoType === 'desktop',
1401 1384
         _sharingVideo: sharedVideoStatus === 'playing'

Chargement…
Annuler
Enregistrer