From 542bb7caed10256aa5a581de47f76e74467aa5bd Mon Sep 17 00:00:00 2001 From: paweldomas Date: Mon, 20 Feb 2017 14:03:04 -0600 Subject: [PATCH] doc: add FIXME --- modules/UI/videolayout/VideoLayout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index b058218cc..cfc616bfb 100644 --- a/modules/UI/videolayout/VideoLayout.js +++ b/modules/UI/videolayout/VideoLayout.js @@ -859,6 +859,8 @@ var VideoLayout = { updateLocalConnectionStats (percent, object) { const { framerate, resolution } = object; + // FIXME overwrites 'lib-jitsi-meet' internal object + // Why library internal objects are passed as event's args ? object.resolution = resolution[APP.conference.getMyUserId()]; object.framerate = framerate[APP.conference.getMyUserId()]; localVideoThumbnail.updateStatsIndicator(percent, object);