diff --git a/app.js b/app.js index d8d1e30d7..680ffa1c8 100644 --- a/app.js +++ b/app.js @@ -365,6 +365,11 @@ function checkChangeLargeVideo(removedVideoSrc){ if(!pick) { console.info("Last visible video no longer exists"); pick = $('#remoteVideos>span[id!="mixedstream"]>video').get(0); + if(!pick) { + // Try local video + console.info("Fallback to local video..."); + pick = $('#remoteVideos>span>span>video').get(0); + } } // mute if localvideo