public DefaultBandwidthMeter(Handler eventHandler, EventListener eventListener, Clock clock, int maxWeight) { this.eventHandler = eventHandler; this.eventListener = eventListener; this.clock = clock; this.slidingPercentile = new SlidingPercentile(maxWeight); bitrateEstimate = NO_ESTIMATE; }
public LimitedBandwidthMeter(Handler eventHandler, EventListener eventListener, Clock clock, int maxWeight) { this.eventHandler = eventHandler; this.eventListener = eventListener; this.clock = clock; this.slidingPercentile = new SlidingPercentile(maxWeight); bitrateEstimate = NO_ESTIMATE; }