diff --git a/index.html b/index.html
index b21d3ef..c5964fb 100644
--- a/index.html
+++ b/index.html
@@ -1995,6 +1995,7 @@
// session.scene // the scene name. Scene 0, 1, ... 8, or any custom scene name is supported. STRING value. Needed to have a clean view link of a guest stream
// session.title // "zzzz" ; sets the title of the browser page.
// session.introOnClean = true; // this will load the page with the webcam selection screen if &push or &room is in the URL; no need to use &webcam.
+ // session.lowBitrateCutoff = 300; // Set a minimum bitrate (in kbps) before the stream is hidden. Useful for IRL streams maybe
diff --git a/lib.js b/lib.js
index 19580cd..5a710d0 100644
--- a/lib.js
+++ b/lib.js
@@ -1636,6 +1636,9 @@ function hideStreamLowBandwidth(bandwidth, UUID){
}
} else if (session.rpcs[UUID].bandwidthMuted){
session.rpcs[UUID].bandwidthMuted = false;
+ if (session.rpcs[UUID].videoElement){
+ session.rpcs[UUID].videoElement.muted = checkMuteState(UUID);
+ }
updateMixer();
}
}
@@ -8189,7 +8192,7 @@ function applyMuteState(UUID){ // this is the mute state of PLAYBACK audio; not
function checkMuteState(UUID){ // this is the mute state of PLAYBACK audio; not the microphone or outbound.
if (!(UUID in session.rpcs)){return false;}
- var muteOutcome = session.rpcs[UUID].mutedState || session.rpcs[UUID].mutedStateMixer || session.rpcs[UUID].mutedStateScene || session.speakerMuted;
+ var muteOutcome = session.rpcs[UUID].mutedState || session.rpcs[UUID].mutedStateMixer || session.rpcs[UUID].mutedStateScene || session.speakerMuted || session.rpcs[UUID].bandwidthMuted;
return muteOutcome;
}