Fixes showing local resolution in UI.

This commit is contained in:
damencho 2016-01-21 10:45:19 -06:00
parent c54e6c0f3c
commit 0db262da6a
1 changed files with 3 additions and 1 deletions

View File

@ -732,7 +732,9 @@ var VideoLayout = {
let resolutions = {}; let resolutions = {};
if (object.resolution !== null) { if (object.resolution !== null) {
resolutions = object.resolution; 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); localVideoThumbnail.updateStatsIndicator(percent, object);