Browse Source

small fixes

main
Hendrik Langer 4 years ago
parent
commit
7e5008561f
  1. 1
      raspberry/roberto/camera/camera_gstreamer_webrtc.py
  2. 2
      raspberry/roberto/views/frontend/templates/index.html

1
raspberry/roberto/camera/camera_gstreamer_webrtc.py

@ -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")

2
raspberry/roberto/views/frontend/templates/index.html

@ -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";

Loading…
Cancel
Save