bug fix; video fails to load after reconnect

issue was related to the new mixer logic added to allow director to switch between director and scene preview modes.  it was not related to connection logic, thankfully.

There may be further bugs though; please test.
This commit is contained in:
Steve Seguin 2022-04-28 09:49:19 -04:00 committed by GitHub
parent 6d2d71adae
commit 7fe8d5b01b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
lib.js
View File

@ -3082,6 +3082,10 @@ function updateMixerRun(e=false){ // this is the main auto-mixing code. It's a
session.guestFeeds = playarea.querySelector("#guestFeeds");
playarea.innerHTML = "";
skip = true;
} else {
for (var m=0;m<mediaPool.length;m++){
mediaPool[m].alreadyAdded=false;
}
}
mediaPool.sort(compare_vids);
@ -3217,12 +3221,6 @@ function updateMixerRun(e=false){ // this is the main auto-mixing code. It's a
if (!matched){
vidtemp.isInvisible = false;
// if (session.fadein){
// vidtemp.classList.add("fadein");
// if (vidtemp.holder){
// vidtemp.holder.classList.add("fadein");
// }
// }
}
} else if (childNodes[n].querySelector("iframe")){
var iftemp = childNodes[n].querySelector("iframe");