Skip to main content

AndroidAbrConfiguration

Properties

degradationPenalty?

optional degradationPenalty: number

A value between 0 and 1 that is used as a penalty when a buffer degradation or a download time issue is detected.


degradationRecovery?

optional degradationRecovery: number

The recovery applied on each selection after a AndroidAbrConfiguration.degradationPenalty was applied.


downloadTimeFactor?

optional downloadTimeFactor: number

Safety factor that is applied to download time calculations


initialTrackSelection?

optional initialTrackSelection: AndroidAbrTrackSelection

The initial track selection can be used to manually select a track by index initially, in combination with AndroidAbrConfiguration.keepInitialSelection. The default value is AndroidAbrTrackSelection.VideoQualityAdaptive.


keepInitialSelection?

optional keepInitialSelection: boolean

True if the first selection should be kept.


maxDurationForQualityDecreaseMs?

optional maxDurationForQualityDecreaseMs: number

The maximum amount of data that is expected to be buffered before a quality decrease is permitted.


maxInitialBitrate?

optional maxInitialBitrate: number

The bandwidth estimation in bits per second that is used when the bandwidth estimator reports that it cannot estimate due to lack of information.


method?

optional method: AndroidAbrMethod

The ABR method.


minDegradationSamples?

optional minDegradationSamples: number

The minium number of segments observed before buffer degradation detection is permitted.


minDurationForQualityIncreaseMs?

optional minDurationForQualityIncreaseMs: number

The minimum amount of that data is expected to be buffered before a quality increase is permitted.


minDurationToRetainAfterDiscardMs?

optional minDurationToRetainAfterDiscardMs: number

Duration of the buffer to retain after discarding chunks. For example, discarding SD chunks to replace with better HD quality.


minSampledBytes?

optional minSampledBytes: number

The min number of totally transferred bytes before the ABR calculations are considered reliable, applicable to AndroidAbrMethod.CommonNba.


percentile?

optional percentile: number

The percentile, applicable to AndroidAbrMethod.CommonNba.


percentileWeight?

optional percentileWeight: number

The weight used for the sliding percentile bandwidth estimator.


safeBufferSizeMs?

optional safeBufferSizeMs: number

Minimum target buffer considered safe.


timeThresholdMs?

optional timeThresholdMs: number

The min time in milliseconds before transferred bytes and times are used for ABR calculations, applicable to AndroidAbrMethod.CommonNba.


useCmsd?

optional useCmsd: boolean

When enabled, the Player will try to parse the CMSD-Dynamic header to extract the backend-informed estimated bandwidth (the etp field) and use it as the estimation for quality selection.