Threshold-based BandwidthEstimator mapping network stats to a quality tier.
Remarks
Classifies each NetworkStats sample into high/medium/low from
packet loss, RTT, and bitrate thresholds. To avoid flapping on transient
blips, quality changes only after a consecutive streak of samples agree —
downgradeStreak samples to drop a tier, upgradeStreak to raise one. All
thresholds and streak lengths are configurable via
SimpleBandwidthEstimatorOptions.
Threshold-based BandwidthEstimator mapping network stats to a quality tier.
Remarks
Classifies each NetworkStats sample into
high/medium/lowfrom packet loss, RTT, and bitrate thresholds. To avoid flapping on transient blips, quality changes only after a consecutive streak of samples agree —downgradeStreaksamples to drop a tier,upgradeStreakto raise one. All thresholds and streak lengths are configurable via SimpleBandwidthEstimatorOptions.