Skip to content

Commit

Permalink
Remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Jul 8, 2023
1 parent ffc734f commit 6b3822b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ts_probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,13 @@
while True:
try:
for frame in stream.decode():
print("frame")

if isinstance(frame, VideoFrame):
print("video frame")
prom.video_frame_count.inc()
video_buffer.append(frame)
prom.video_brightness_gauge.set(video_buffer.avg_brightness)
prom.motion_gauge.set(video_buffer.motion)

elif isinstance(frame, AudioFrame):
print("audio frame")
audio_buffer.append(frame)
prom.audio_amplitude_lufs_gauge.set(audio_buffer.lufs())
prom.audio_amplitude_dbfs_gauge.set(audio_buffer.dbfs(0))
Expand Down

0 comments on commit 6b3822b

Please sign in to comment.