public BandwidthLimiter(Bandwidth bwref, float maxkbps) { BandwidthMeasurement = bwref; MaxKbPS = maxkbps; StartDiscardingLimit = MaxKbPS * StartDiscardingLimitFactor; ProbabilityWindow = MaxKbPS - StartDiscardingLimit; }
public Bandwidth(Bandwidth pool) { Pool = pool; UpdateAlpha(0.2f); }