public class LoadControlConfig
extends java.lang.Object
LoadControl
instance.Modifier and Type | Class and Description |
---|---|
static class |
LoadControlConfig.Builder
The LoadControlConfig Builder.
|
Modifier and Type | Method and Description |
---|---|
AllocatorConfig |
getAllocatorConfig()
Gets the AllocatorConfig object.
|
int |
getBufferForPlaybackAfterRebufferMs()
Gets the default duration of media that must be buffered for
playback to resume after a rebuffer, in milliseconds.
|
int |
getBufferForPlaybackMs()
Gets the duration of media that must be buffered for playback to start or
resume following a user action such as a seek, in milliseconds.
|
int |
getMaxBufferMs()
Gets the maximum duration of media that the player will attempt buffer, in
milliseconds.
|
int |
getMinBufferMs()
Gets the minimum duration of media that the player will attempt to ensure is
buffered at all times, in milliseconds.
|
int |
getTargetBufferBytes()
Gets the target buffer size in bytes.
|
boolean |
isPrioritizeTimeOverSizeThresholds()
Gets whether the load control prioritizes buffer time
constraints over buffer size constraints.
|
public int getMinBufferMs()
DefaultLoadControl
public int getMaxBufferMs()
DefaultLoadControl
public int getBufferForPlaybackMs()
DefaultLoadControl
public int getBufferForPlaybackAfterRebufferMs()
DefaultLoadControl
public int getTargetBufferBytes()
DefaultLoadControl
public boolean isPrioritizeTimeOverSizeThresholds()
DefaultLoadControl
@NonNull public AllocatorConfig getAllocatorConfig()