Check if stopping before adding chunks during transcoding.

This commit is contained in:
SergeantPanda 2025-07-03 11:18:03 -05:00
parent 580aa1975c
commit 55e19f05aa

View file

@ -784,7 +784,7 @@ class StreamManager:
try:
if self.transcode:
# Handle transcoded stream data
while self.running and self.connected:
while self.running and self.connected and not self.stop_requested:
if self.fetch_chunk():
self.last_data_time = time.time()
else: