Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes clicking remote participant in the contact list.

yanasdacd54b73c0d
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js
index 018c6cc8ef..4ec6e3f300 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.