Experimental

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.

Constructors

Link copied to clipboard
constructor(bandwidthEstimationMode: BandwidthEstimationMode = BandwidthEstimationMode.SlidingPercentile(), minBytesTransferred: Long = (512 * 1024).toLong(), usePreloadHintsForBandwidthEstimation: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

Use future segments (eg: HLS preload hints) download speed in the bandwidth estimator.