1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-04-25 08:11:23 +00:00

Use 64 KiB as the default progressive load interval

This ensures a small value is used by default, solving buffering issues at the beginning of videos
This commit is contained in:
Stypox
2022-04-28 11:32:33 +02:00
parent 9a5decdb28
commit b8dbb3f073
3 changed files with 7 additions and 6 deletions

View File

@@ -426,7 +426,7 @@ public final class PlayerHelper {
context.getString(R.string.progressive_load_interval_key),
context.getString(R.string.progressive_load_interval_default_value));
if (context.getString(R.string.progressive_load_interval_default_value)
if (context.getString(R.string.progressive_load_interval_exoplayer_default_value)
.equals(preferredIntervalBytes)) {
return ProgressiveMediaSource.DEFAULT_LOADING_CHECK_INTERVAL_BYTES;
}