|
@@ -105,8 +105,7 @@ var VideoLayout = {
|
105
|
105
|
localVideoThumbnail.setVideoType(VIDEO_CONTAINER_TYPE);
|
106
|
106
|
// if we do not resize the thumbs here, if there is no video device
|
107
|
107
|
// the local video thumb maybe one pixel
|
108
|
|
- let {thumbWidth, thumbHeight}
|
109
|
|
- = this.resizeThumbnails(false, true, false);
|
|
108
|
+ let {thumbWidth, thumbHeight} = this.resizeThumbnails(false, true);
|
110
|
109
|
AudioLevels.updateAudioLevelCanvas(null, thumbWidth, thumbHeight);
|
111
|
110
|
|
112
|
111
|
emitter.addListener(UIEvents.CONTACT_CLICKED, onContactClicked);
|
|
@@ -414,7 +413,7 @@ var VideoLayout = {
|
414
|
413
|
console.info(resourceJid + " video is now active", videoelem);
|
415
|
414
|
|
416
|
415
|
VideoLayout.resizeThumbnails(
|
417
|
|
- false, false, false, function() {$(videoelem).show();});
|
|
416
|
+ false, false, function() {$(videoelem).show();});
|
418
|
417
|
|
419
|
418
|
// Update the large video to the last added video only if there's no
|
420
|
419
|
// current dominant, focused speaker or update it to
|