diff --git a/web/static/js/BareRTC.js b/web/static/js/BareRTC.js index 6a9bcf7..1d9b05a 100644 --- a/web/static/js/BareRTC.js +++ b/web/static/js/BareRTC.js @@ -1025,13 +1025,13 @@ const app = Vue.createApp({ stream.getVideoTracks().forEach(videoTrack => { let freezeDetected = () => { console.log("FREEZE DETECTED:", username); - // Wait 3 seconds to see if the stream has recovered on its own + // Wait some seconds to see if the stream has recovered on its own setTimeout(() => { // Flag it as likely frozen. if (videoTrack.muted) { this.WebRTC.frozenStreamDetected[username] = true; } - }, 3000); + }, 7500); // 7.5s }; console.log("Apply onmute handler for", username); diff --git a/web/templates/chat.html b/web/templates/chat.html index 528cb7b..f60ecbd 100644 --- a/web/templates/chat.html +++ b/web/templates/chat.html @@ -982,6 +982,11 @@ @@ -1043,8 +1048,15 @@ width="24" height="24"> -
- +
+ + + + + + + +