Browse Source

ref(LargeVideoManager): rename 'enableVideoProblemFilter'

j8
paweldomas 9 years ago
parent
commit
5843c6c569

+ 6
- 5
modules/UI/videolayout/LargeVideoManager.js View File

@@ -91,7 +91,7 @@ export default class LargeVideoManager {
91 91
      * Called when the media connection has been interrupted.
92 92
      */
93 93
     onVideoInterrupted () {
94
-        this.enableVideoProblemFilter(true);
94
+        this.enableLocalConnectionProblemFilter(true);
95 95
         let reconnectingKey = "connection.RECONNECTING";
96 96
         $('#videoConnectionMessage')
97 97
             .attr("data-i18n", reconnectingKey)
@@ -104,7 +104,7 @@ export default class LargeVideoManager {
104 104
      * Called when the media connection has been restored.
105 105
      */
106 106
     onVideoRestored () {
107
-        this.enableVideoProblemFilter(false);
107
+        this.enableLocalConnectionProblemFilter(false);
108 108
         this.showVideoConnectionMessage(false);
109 109
     }
110 110
 
@@ -240,12 +240,13 @@ export default class LargeVideoManager {
240 240
     }
241 241
 
242 242
     /**
243
-     * Enables/disables the filter indicating a video problem to the user.
243
+     * Enables/disables the filter indicating a video problem to the user caused
244
+     * by the problems with local media connection.
244 245
      *
245 246
      * @param enable <tt>true</tt> to enable, <tt>false</tt> to disable
246 247
      */
247
-    enableVideoProblemFilter (enable) {
248
-        this.videoContainer.enableVideoProblemFilter(enable);
248
+    enableLocalConnectionProblemFilter (enable) {
249
+        this.videoContainer.enableLocalConnectionProblemFilter(enable);
249 250
     }
250 251
 
251 252
     /**

+ 2
- 2
modules/UI/videolayout/VideoContainer.js View File

@@ -186,12 +186,12 @@ export class VideoContainer extends LargeContainer {
186 186
 
187 187
     /**
188 188
      * Enables a filter on the video which indicates that there are some
189
-     * problems with the media connection.
189
+     * problems with the local media connection.
190 190
      *
191 191
      * @param {boolean} enable <tt>true</tt> if the filter is to be enabled or
192 192
      * <tt>false</tt> otherwise.
193 193
      */
194
-    enableVideoProblemFilter (enable) {
194
+    enableLocalConnectionProblemFilter (enable) {
195 195
         this.$video.toggleClass("videoProblemFilter", enable);
196 196
     }
197 197
 

Loading…
Cancel
Save