Merge pull request #871 from jitsi/fix-remote-video-thumb
Fixes parameters for VideoLayout.resizeThumbnails.
This commit is contained in:
commit
0e94bf7e0b
|
@ -105,8 +105,7 @@ var VideoLayout = {
|
||||||
localVideoThumbnail.setVideoType(VIDEO_CONTAINER_TYPE);
|
localVideoThumbnail.setVideoType(VIDEO_CONTAINER_TYPE);
|
||||||
// if we do not resize the thumbs here, if there is no video device
|
// if we do not resize the thumbs here, if there is no video device
|
||||||
// the local video thumb maybe one pixel
|
// the local video thumb maybe one pixel
|
||||||
let {thumbWidth, thumbHeight}
|
let {thumbWidth, thumbHeight} = this.resizeThumbnails(false, true);
|
||||||
= this.resizeThumbnails(false, true, false);
|
|
||||||
AudioLevels.updateAudioLevelCanvas(null, thumbWidth, thumbHeight);
|
AudioLevels.updateAudioLevelCanvas(null, thumbWidth, thumbHeight);
|
||||||
|
|
||||||
emitter.addListener(UIEvents.CONTACT_CLICKED, onContactClicked);
|
emitter.addListener(UIEvents.CONTACT_CLICKED, onContactClicked);
|
||||||
|
@ -414,7 +413,7 @@ var VideoLayout = {
|
||||||
console.info(resourceJid + " video is now active", videoelem);
|
console.info(resourceJid + " video is now active", videoelem);
|
||||||
|
|
||||||
VideoLayout.resizeThumbnails(
|
VideoLayout.resizeThumbnails(
|
||||||
false, false, false, function() {$(videoelem).show();});
|
false, false, function() {$(videoelem).show();});
|
||||||
|
|
||||||
// Update the large video to the last added video only if there's no
|
// Update the large video to the last added video only if there's no
|
||||||
// current dominant, focused speaker or update it to
|
// current dominant, focused speaker or update it to
|
||||||
|
|
Loading…
Reference in New Issue