Package 

Class LoadControlConfig


  • 
    public class LoadControlConfig
    
                        

    Config class used when creating a com.google.android.exoplayer2.LoadControl instance.

    • Method Detail

      • getMinBufferMs

         int getMinBufferMs()

        Gets the minimum duration of media that the player will attempt to ensure isbuffered at all times, in milliseconds.

      • getMaxBufferMs

         int getMaxBufferMs()

        Gets the maximum duration of media that the player will attempt buffer, inmilliseconds.

      • getBufferForPlaybackMs

         int getBufferForPlaybackMs()

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

      • getBufferForPlaybackAfterRebufferMs

         int getBufferForPlaybackAfterRebufferMs()

        Gets the default duration of media that must be buffered forplayback to resume after a rebuffer, in milliseconds. A rebuffer is defined to be caused bybuffer depletion rather than a user action.

      • isPrioritizeTimeOverSizeThresholds

         boolean isPrioritizeTimeOverSizeThresholds()

        Gets whether the load control prioritizes buffer timeconstraints over buffer size constraints.