Explorar el Código

feat(small-video): add flag to hide connection indicators (#3225)

master
virtuacoplenny hace 7 años
padre
commit
afe7c4470d
No account linked to committer's email address
Se han modificado 2 ficheros con 9 adiciones y 1 borrados
  1. 7
    0
      interface_config.js
  2. 2
    1
      modules/UI/videolayout/SmallVideo.js

+ 7
- 0
interface_config.js Ver fichero

137
      */
137
      */
138
     CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000,
138
     CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000,
139
 
139
 
140
+    /**
141
+     * If true, hides the connection indicators completely.
142
+     *
143
+     * @type {boolean}
144
+     */
145
+    CONNECTION_INDICATOR_DISABLED: false,
146
+
140
     /**
147
     /**
141
      * The name of the application connected to the "Add people" search service.
148
      * The name of the application connected to the "Add people" search service.
142
      */
149
      */

+ 2
- 1
modules/UI/videolayout/SmallVideo.js Ver fichero

114
      * @private
114
      * @private
115
      * @type {boolean}
115
      * @type {boolean}
116
      */
116
      */
117
-    this._showConnectionIndicator = true;
117
+    this._showConnectionIndicator
118
+        = !interfaceConfig.CONNECTION_INDICATOR_DISABLED;
118
 
119
 
119
     /**
120
     /**
120
      * Whether or not the dominant speaker indicator should be displayed.
121
      * Whether or not the dominant speaker indicator should be displayed.

Loading…
Cancelar
Guardar