Skip to content

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

Fixes the issue with the IPv6 addresses in connection quality tooltips.

hristoterezovf9daa25a6c93
diff --git a/connectionquality.js b/connectionquality.js
index c6e78e31ee..4931631da7 100644
--- a/connectionquality.js
+++ b/connectionquality.js
@@ -116,5 +116,12 @@ var ConnectionQuality = (function () {
VideoLayout.onStatsStop();
};
+ /**
+ * Returns the local statistics.
+ */
+ ConnectionQuality.getStats = function () {
+ return stats;
+ }
+
return ConnectionQuality;
})();
\ No newline at end of file
diff --git a/videolayout.js b/videolayout.js
index 968c7d2659..63017463ce 100644
--- a/videolayout.js
+++ b/videolayout.js
@@ -1643,12 +1643,12 @@ var VideoLayout = (function (my) {
ConnectionIndicator.getIP = function(value)
{
- return value.substring(0, value.indexOf(":"));
+ return value.substring(0, value.lastIndexOf(":"));
};
ConnectionIndicator.getPort = function(value)
{
- return value.substring(value.indexOf(":") + 1, value.length);
+ return value.substring(value.lastIndexOf(":") + 1, value.length);
};
ConnectionIndicator.getStringFromArray = function (array) {