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
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
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;
}