fix: adjust buffer duration

This commit is contained in:
tapframe 2026-06-20 15:41:18 +05:30
parent 3adee555c5
commit 18305062a1

View file

@ -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