From 501b8809318b71f44a4fb217dc5605c9d4b47954 Mon Sep 17 00:00:00 2001 From: pstruebi Date: Sat, 7 Jun 2025 13:41:44 +0200 Subject: [PATCH] uncomment stream end detection --- src/auracast/multicast.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 # -----------------------------------------------------------------------------