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