Skip to main content

AndroidBufferConfiguration

The buffer configuration to tweak buffer size and others.

Properties

audioFeedYieldEnabled

audioFeedYieldEnabled?: boolean;

Set to true in order audio renderer not to block other renderers (video) when feeding decoder.


backBufferDurationMs

backBufferDurationMs?: number;

Maximum duration of the back buffer. In other words, how much time are already played segments to remain in the buffer.


bufferSegmentSize

bufferSegmentSize?: number;

The internal buffer is divided into segment and this specifies the size of a single buffer segment.


bufferSizeBytes

bufferSizeBytes?: number;

Defines the buffer size in bytes.


drainWhileCharging

drainWhileCharging?: boolean;

Flag indicating whether the buffer should be drained (until minPlaybackStartMs is reached) or not.


highMediaTimeMs

highMediaTimeMs?: number;

Time in milliseconds that will be used by the buffer controls to determine if the buffer can be drained.


lowMediaTimeMs

lowMediaTimeMs?: number;

Time in milliseconds that will be used by the buffer controls to determine if the buffer needs to be filled.


minPlaybackStartMs

minPlaybackStartMs?: 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

minRebufferStartMs?: number;

The minimum duration of data that must be buffered for playback to resume after a player invoked re-buffer.


prioritizeInstreamOverManifestDuration

prioritizeInstreamOverManifestDuration?: 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

prioritizeTimeOverSizeThresholds?: boolean;

Flag indicating whether the buffer time constraints are prioritized over buffer size constraints lowMediaTimeMs and highMediaTimeMs.


videoFeedYieldEnabled

videoFeedYieldEnabled?: boolean;

Set to true in order video renderer not to block other renderers (audio) when feeding decoder.