@ -290,6 +290,7 @@ class WebRTCCamera(Thread):
audio_src_pad.remove_probe(audio_block)
video_src_pad.remove_probe(video_block)
print("client pipeline running")
def probe_block(self, pad, info):
print("blocked")
@ -272,7 +272,7 @@ function toggleFullScreen() {
var goDebug = document.getElementById("goDebug");
goDebug.addEventListener("click", function() {
var stats_box = document.querySelector(".stats-box");
if (stats_box.style.display == "none") {
if (stats_box.style.display != "inherit") {
stats_box.style.display = "inherit";
} else {
stats_box.style.display = "none";