BandwidthMeterType

sealed interface BandwidthMeterType : Parcelable

Defines the bandwidth meter to be used by the player.

Inheritors

Types

Link copied to clipboard
data class Default(val bandwidthEstimateWeightLimit: Int = DEFAULT_BANDWIDTH_ESTIMATE_WEIGHT_LIMIT) : BandwidthMeterType

The default bandwidth meter type.

Link copied to clipboard
data class Experimental(val slidingPercentileMaxSampleCount: Int = 5, val slidingPercentile: Double = 0.7, val minBytesTransferred: Long = (512 * 1024).toLong()) : BandwidthMeterType

An experimental bandwidth meter with improved algorithms. Contrary to the Default bandwidth meter, this also includes connection opening times in its estimate.