setBufferForPlaybackMs

open fun setBufferForPlaybackMs(bufferForPlaybackMs: Int): LoadControlConfig.Builder

Sets the duration of media that must be buffered for playback to start or resume following a user action such as a seek, in milliseconds.

Return

the builder instance

Parameters

bufferForPlaybackMs

the buffer for playback in milliseconds

See also

androidx.media3.exoplayer.DefaultLoadControl