Skip to content

Commit

Permalink
testing recording in progress message when skipping
Browse files Browse the repository at this point in the history
frame
  • Loading branch information
infinitel8p committed Nov 13, 2023
1 parent 9b46e49 commit 69e825d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ def send_frames(ws):
time.sleep(0.1)
continue

if recording:
print("Recording in progress, skipping frame...")

camera.capture(stream, format='jpeg',
use_video_port=True, quality=jpeg_quality)
if should_send_frames:
Expand Down

0 comments on commit 69e825d

Please sign in to comment.