Skip to content

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

Displays correct resolution coming from FF.

damencho034ed200f3c5
diff --git a/modules/UI/videolayout/ConnectionIndicator.js b/modules/UI/videolayout/ConnectionIndicator.js
index 7923d4135b..4ee8ae5de7 100644
--- a/modules/UI/videolayout/ConnectionIndicator.js
+++ b/modules/UI/videolayout/ConnectionIndicator.js
@@ -90,6 +90,11 @@ ConnectionIndicator.prototype.generateText = function () {
if(this.resolution && this.jid) {
var keys = Object.keys(this.resolution);
for(var ssrc in this.resolution) {
+ // skip resolutions for ssrc that don't have this info
+ // like receive-only ssrc for FF
+ if(this.resolution[ssrc]
+ && this.resolution[ssrc].height != -1
+ && this.resolution[ssrc].width != -1)
resolutionValue = this.resolution[ssrc];
}
}