diff --git a/src/auracast/multicast.py b/src/auracast/multicast.py index 29f0eea..3c33bb8 100644 --- a/src/auracast/multicast.py +++ b/src/auracast/multicast.py @@ -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 # -----------------------------------------------------------------------------