Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Mmhhmm committed Apr 16, 2021
1 parent c4c5c55 commit 47b008f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Event Manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

closing_scene = ""
stop_streaming_delay = 60
auto_stop_recording = True
stop_recording_delay = 0

def event_callback_start_recording(event):
Expand All @@ -39,10 +38,10 @@ def event_callback_stop_event(event):
else:
obs.timer_add(stop_recording, stop_recording_delay * 1000)
if manage_streaming and obs.obs_frontend_streaming_active():
if streaming_delay == 0:
if stop_streaming_delay == 0:
stop_streaming()
else:
obs.timer_add(stop_streaming, streaming_delay * 1000)
obs.timer_add(stop_streaming, stop_streaming_delay * 1000)
else:
if manage_recording and obs.obs_frontend_recording_active():
obs.timer_remove(stop_recording)
Expand Down

0 comments on commit 47b008f

Please # to comment.