AndroidBufferConfiguration
The buffer configuration to tweak buffer size and others.
Properties
audioFeedYield?
optionalaudioFeedYield:boolean
Set to true in order audio renderer not to block other renderers (video)
when feeding decoder.
backBufferDurationMs?
optionalbackBufferDurationMs:number
Maximum duration of the back buffer. In other words, how much time are already played segments to remain in the buffer.
bufferSegmentSize?
optionalbufferSegmentSize:number
The internal buffer is divided into segment, and this specifies the size of a single buffer segment.
bufferSizeBytes?
optionalbufferSizeBytes:number
Defines the buffer size in bytes.
drainWhileCharging?
optionaldrainWhileCharging:boolean
Flag indicating whether the buffer should be drained (until AndroidBufferConfiguration.minPlaybackStartMs is reached) or not.
highMediaTimeMs?
optionalhighMediaTimeMs:number
Time in milliseconds that will be used by the buffer controls to determine if the buffer can be drained.
lowMediaTimeMs?
optionallowMediaTimeMs:number
Time in milliseconds that will be used by the buffer controls to determine if the buffer needs to be filled.
minPlaybackStartMs?
optionalminPlaybackStartMs:number
The minimum duration of data that must be buffered for playback to start or resume following a user action such as a seek.
minRebufferStartMs?
optionalminRebufferStartMs:number
The minimum duration of data that must be buffered for playback to resume after a player invoked re-buffer.
prioritizeInstreamOverManifestDuration?
optionalprioritizeInstreamOverManifestDuration:boolean
Flag indicating whether the buffered duration is evaluated based on playlist (manifest) tags like duration or based on audio/video data segments durations.
prioritizeTimeOverSizeThresholds?
optionalprioritizeTimeOverSizeThresholds:boolean
Flag indicating whether the buffer time constraints are prioritized over buffer size constraints AndroidBufferConfiguration.lowMediaTimeMs and AndroidBufferConfiguration.highMediaTimeMs.
videoFeedYield?
optionalvideoFeedYield:boolean
Set to true in order video renderer not to block other renderers
(audio) when feeding decoder.