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:
parent
9a5decdb28
commit
b8dbb3f073
3 changed files with 7 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue