Fixes showing local resolution in UI.
This commit is contained in:
parent
c54e6c0f3c
commit
0db262da6a
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue