Skip to content

Commit

Permalink
Merge pull request #6444 from TeamNewPipe/increasebufferafterdepletion
Browse files Browse the repository at this point in the history
Increase buffer for playback after rebuffer
  • Loading branch information
TobiGr committed Jun 8, 2021
2 parents a2eead5 + 3b00459 commit 56cd84c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ private LoadController(final int initialPlaybackBufferMs,

final DefaultLoadControl.Builder builder = new DefaultLoadControl.Builder();
builder.setBufferDurationsMs(minimumPlaybackBufferMs, optimalPlaybackBufferMs,
initialPlaybackBufferMs, initialPlaybackBufferMs);
initialPlaybackBufferMs,
DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS);
internalLoadControl = builder.build();
}

Expand Down

0 comments on commit 56cd84c

Please sign in to comment.