From 18305062a15602df2fdd68a4e6faf2b1d60fb6cd Mon Sep 17 00:00:00 2001 From: tapframe <85391825+tapframe@users.noreply.github.com> Date: Sat, 20 Jun 2026 15:41:18 +0530 Subject: [PATCH] fix: adjust buffer duration --- .../com/nuvio/app/features/player/PlayerEngine.android.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/androidMain/kotlin/com/nuvio/app/features/player/PlayerEngine.android.kt b/composeApp/src/androidMain/kotlin/com/nuvio/app/features/player/PlayerEngine.android.kt index dcc8de9f7..3ec9539cb 100644 --- a/composeApp/src/androidMain/kotlin/com/nuvio/app/features/player/PlayerEngine.android.kt +++ b/composeApp/src/androidMain/kotlin/com/nuvio/app/features/player/PlayerEngine.android.kt @@ -207,7 +207,7 @@ actual fun PlatformPlayerSurface( val loadControl = DefaultLoadControl.Builder() .setTargetBufferBytes(100 * 1024 * 1024) .setBufferDurationsMs( - DefaultLoadControl.DEFAULT_MIN_BUFFER_MS, + 15_000, 70_000, DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_MS, 5_000