public interface Abr
Modifier and Type | Method and Description |
---|---|
AbrStrategyConfiguration |
getAbrStrategy()
The adaptive bitrate strategy configuration.
|
int |
getTargetBuffer()
The amount which the player buffers ahead of the current playback position.
|
void |
setAbrStrategy(AbrStrategyConfiguration abrStrategyConfiguration)
Sets the adaptive bitrate strategy configuration.
|
void |
setTargetBuffer(int value)
Sets the amount which the player should buffer ahead of the current playback position.
|
void setTargetBuffer(int value)
value
- The target buffer, in seconds.- This duration has a maximum of 60 seconds. - The player might reduce or ignore configured amount because of device or performance constraints.
int getTargetBuffer()
AbrStrategyConfiguration getAbrStrategy()
void setAbrStrategy(AbrStrategyConfiguration abrStrategyConfiguration)
abrStrategyConfiguration
- The new AbrStrategyConfiguration
. (NonNull)