Interface BandwidthEstimator

  • All Known Implementing Classes:
    SimpleBandwidthEstimator

    interface BandwidthEstimator
    A Westwood bandwidth estimator
    Since:
    0.9.49 adapted from streaming
    • Method Detail

      • addSample

        void addSample​(int acked)
        Records an arriving ack.
        Parameters:
        acked - how many bytes were acked with this ack
      • getBandwidthEstimate

        float getBandwidthEstimate()
        Returns:
        the current bandwidth estimate in bytes/ms.