Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ref(LargeVideoManager): rename 'enableVideoProblemFilter'

paweldomas5843c6c56945
diff --git a/modules/UI/videolayout/LargeVideoManager.js b/modules/UI/videolayout/LargeVideoManager.js
index 53f2777ffd..251d7e1e6d 100644
--- a/modules/UI/videolayout/LargeVideoManager.js
+++ b/modules/UI/videolayout/LargeVideoManager.js
@@ -91,7 +91,7 @@ export default class LargeVideoManager {
* Called when the media connection has been interrupted.
*/
onVideoInterrupted () {
- this.enableVideoProblemFilter(true);
+ this.enableLocalConnectionProblemFilter(true);
let reconnectingKey = "connection.RECONNECTING";
$('#videoConnectionMessage')
.attr("data-i18n", reconnectingKey)
@@ -104,7 +104,7 @@ export default class LargeVideoManager {
* Called when the media connection has been restored.
*/
onVideoRestored () {
- this.enableVideoProblemFilter(false);
+ this.enableLocalConnectionProblemFilter(false);
this.showVideoConnectionMessage(false);
}
@@ -240,12 +240,13 @@ export default class LargeVideoManager {
}
/**
- * Enables/disables the filter indicating a video problem to the user.
+ * Enables/disables the filter indicating a video problem to the user caused
+ * by the problems with local media connection.
*
* @param enable <tt>true</tt> to enable, <tt>false</tt> to disable
*/
- enableVideoProblemFilter (enable) {
- this.videoContainer.enableVideoProblemFilter(enable);
+ enableLocalConnectionProblemFilter (enable) {
+ this.videoContainer.enableLocalConnectionProblemFilter(enable);
}
/**
diff --git a/modules/UI/videolayout/VideoContainer.js b/modules/UI/videolayout/VideoContainer.js
index 2043344c2a..fda76f75fc 100644
--- a/modules/UI/videolayout/VideoContainer.js
+++ b/modules/UI/videolayout/VideoContainer.js
@@ -186,12 +186,12 @@ export class VideoContainer extends LargeContainer {
/**
* Enables a filter on the video which indicates that there are some
- * problems with the media connection.
+ * problems with the local media connection.
*
* @param {boolean} enable <tt>true</tt> if the filter is to be enabled or
* <tt>false</tt> otherwise.
*/
- enableVideoProblemFilter (enable) {
+ enableLocalConnectionProblemFilter (enable) {
this.$video.toggleClass("videoProblemFilter", enable);
}