Show local camera in large video after we re-become the only person in a conference.
This commit is contained in:
parent
39895ed137
commit
81df90897f
5
app.js
5
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
|
||||
|
|
Loading…
Reference in New Issue