From a296ba8417ffd3287c786ca21f483aea8f4837de Mon Sep 17 00:00:00 2001 From: Steve Seguin Date: Mon, 26 Apr 2021 02:37:52 -0400 Subject: [PATCH] Update main.js --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 80bad2a..316b565 100644 --- a/main.js +++ b/main.js @@ -566,7 +566,7 @@ if (window.obsstudio) { if (session.rpcs[UUID].videoElement.style.display == "none"){ // Flag will be left alone, but message will say its disabled. msg.visibility = false; } - if (session.optimize){ + if (session.optimize!==false){ ////////////// bandwidth stuff var bandwidth = parseInt(session.rpcs[UUID].targetBandwidth); // we don't want to change the target bandwidth, as that's still the real goal and are point of reference for reverting this change. log("bandwidth:"+bandwidth);