|
@@ -857,22 +857,22 @@ var VideoLayout = {
|
857
|
857
|
* @param object
|
858
|
858
|
*/
|
859
|
859
|
updateLocalConnectionStats (percent, object) {
|
860
|
|
- const { framerates, resolutions } = object;
|
|
860
|
+ const { framerate, resolution } = object;
|
861
|
861
|
|
862
|
|
- object.resolution = resolutions[APP.conference.getMyUserId()];
|
863
|
|
- object.framerate = framerates[APP.conference.getMyUserId()];
|
|
862
|
+ object.resolution = resolution[APP.conference.getMyUserId()];
|
|
863
|
+ object.framerate = framerate[APP.conference.getMyUserId()];
|
864
|
864
|
localVideoThumbnail.updateStatsIndicator(percent, object);
|
865
|
865
|
|
866
|
|
- Object.keys(resolutions).forEach(function (id) {
|
|
866
|
+ Object.keys(resolution).forEach(function (id) {
|
867
|
867
|
if (APP.conference.isLocalId(id)) {
|
868
|
868
|
return;
|
869
|
869
|
}
|
870
|
870
|
|
871
|
|
- let resolution = resolutions[id];
|
|
871
|
+ let resolutionValue = resolution[id];
|
872
|
872
|
let remoteVideo = remoteVideos[id];
|
873
|
873
|
|
874
|
|
- if (resolution && remoteVideo) {
|
875
|
|
- remoteVideo.updateResolution(resolution);
|
|
874
|
+ if (resolutionValue && remoteVideo) {
|
|
875
|
+ remoteVideo.updateResolution(resolutionValue);
|
876
|
876
|
}
|
877
|
877
|
});
|
878
|
878
|
},
|