Skip to content

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

Show local camera in large video after we re-become the only person in a conference.

paweldomas81df90897ffb
diff --git a/app.js b/app.js
index d8d1e30d77..680ffa1c81 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