Fixes clicking remote participant in the contact list.
This commit is contained in:
parent
2bee98744d
commit
dacd54b73c
|
@ -47,10 +47,9 @@ function onContactClicked (id) {
|
||||||
|
|
||||||
let remoteVideo = remoteVideos[id];
|
let remoteVideo = remoteVideos[id];
|
||||||
if (remoteVideo && remoteVideo.selectVideoElement().length) {
|
if (remoteVideo && remoteVideo.selectVideoElement().length) {
|
||||||
let videoThumb = remoteVideo.selectVideoElement()[0];
|
|
||||||
// It is not always the case that a videoThumb exists (if there is
|
// It is not always the case that a videoThumb exists (if there is
|
||||||
// no actual video).
|
// no actual video).
|
||||||
if (RTC.getVideoSrc(videoThumb)) {
|
if (remoteVideo.stream) {
|
||||||
|
|
||||||
// We have a video src, great! Let's update the large video
|
// We have a video src, great! Let's update the large video
|
||||||
// now.
|
// now.
|
||||||
|
|
Loading…
Reference in New Issue