try other values for readrate
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 6 Nov 2025 03:06:21 +0000 (04:06 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 6 Nov 2025 03:06:21 +0000 (04:06 +0100)
music_assistant/controllers/streams.py

index f6e2189c768f3dc5f856a7d6d48b7742414f192e..ef090f49e0659a27eb9db16f7341f172f9fdf9af 100644 (file)
@@ -505,7 +505,7 @@ class StreamsController(CoreController):
             read_rate_input_args = None  # disable readrate for DLNA players
         else:
             # allow buffer ahead of 8 seconds and read slightly faster than realtime
-            read_rate_input_args = ["-readrate", "1.05", "-readrate_initial_burst", "8"]
+            read_rate_input_args = ["-readrate", "1.2", "-readrate_initial_burst", "10"]
 
         first_chunk_received = False
         async for chunk in get_ffmpeg_stream(