uncomment stream end detection
This commit is contained in:
@@ -500,10 +500,10 @@ class Streamer():
|
||||
|
||||
await big['iso_queue'].write(lc3_frame)
|
||||
|
||||
# if all(stream_finished): # Take into account that multiple files have different lengths
|
||||
# logging.info('All streams finished, stopping streamer')
|
||||
# self.is_streaming = False
|
||||
# break
|
||||
if all(stream_finished): # Take into account that multiple files have different lengths
|
||||
logging.info('All streams finished, stopping streamer')
|
||||
self.is_streaming = False
|
||||
break
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user