BandwidthMeterType
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 bandwidthEstimationMode: BandwidthEstimationMode = BandwidthEstimationMode.SlidingPercentile(), val minBytesTransferred: Long = (512 * 1024).toLong(), val usePreloadHintsForBandwidthEstimation: Boolean = false) : BandwidthMeterType
An experimental bandwidth meter with improved algorithms. Contrary to the Default bandwidth meter, this also includes connection opening times in its estimate.