From dacd54b73c0d9cb47bff7b34541b3a5bf097c791 Mon Sep 17 00:00:00 2001 From: yanas Date: Tue, 19 Jan 2016 16:51:23 -0600 Subject: [PATCH] Fixes clicking remote participant in the contact list. --- modules/UI/videolayout/VideoLayout.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index 018c6cc8e..4ec6e3f30 100644 --- a/modules/UI/videolayout/VideoLayout.js +++ b/modules/UI/videolayout/VideoLayout.js @@ -47,10 +47,9 @@ function onContactClicked (id) { let remoteVideo = remoteVideos[id]; if (remoteVideo && remoteVideo.selectVideoElement().length) { - let videoThumb = remoteVideo.selectVideoElement()[0]; // It is not always the case that a videoThumb exists (if there is // no actual video). - if (RTC.getVideoSrc(videoThumb)) { + if (remoteVideo.stream) { // We have a video src, great! Let's update the large video // now.