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 showing local resolution in UI.

damencho0db262da6a9c
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js
index cb59dd58f4..cab3651609 100644
--- a/modules/UI/videolayout/VideoLayout.js
+++ b/modules/UI/videolayout/VideoLayout.js
@@ -732,7 +732,9 @@ var VideoLayout = {
let resolutions = {};
if (object.resolution !== null) {
resolutions = object.resolution;
- object.resolution = resolutions[APP.conference.localId];
+ var id = Strophe.getResourceFromJid(
+ APP.conference._room.room.session.me);
+ object.resolution = resolutions[id];
}
localVideoThumbnail.updateStatsIndicator(percent, object);