Readrate limiter tweaks on builtin provider
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Sun, 2 Nov 2025 17:01:01 +0000 (18:01 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Sun, 2 Nov 2025 17:01:01 +0000 (18:01 +0100)
music_assistant/providers/builtin_player/player.py

index c481968b428ef8d572aa7e0ee200afb31051ec82..48ff4306db2cda5d03040c517c02471a3c531c02 100644 (file)
@@ -293,7 +293,7 @@ class BuiltinPlayer(Player):
             # Apple ignores "Accept-Ranges=none" on iOS and iPadOS for some reason,
             # so we need to slowly feed the music to avoid the Browser stopping and later
             # restarting the audio stream (from a wrong position!) by keeping the buffer short.
-            extra_input_args=["-readrate", "1.0", "-readrate_initial_burst", "15"],
+            extra_input_args=["-readrate", "1.05", "-readrate_initial_burst", "8"],
             filter_params=get_player_filter_params(self.mass, player_id, pcm_format, stream_format),
         ):
             try: