Interface BandwidthEstimator

  • All Known Implementing Classes:
    BandwidthEstimatorImpl

    public interface BandwidthEstimator
    Author:
    Boris Grozev
    • Method Detail

      • addListener

        void addListener​(BandwidthEstimator.Listener listener)
        Adds a listener to be notified about changes to the bandwidth estimation.
        Parameters:
        listener -
      • getLatestEstimate

        long getLatestEstimate()
        Returns:
        the latest estimate.
      • getLatestREMB

        long getLatestREMB()
        Returns:
        the latest values of the Receiver Estimated Maximum Bandwidth.
      • updateReceiverEstimate

        void updateReceiverEstimate​(long bandwidth)
        void SendSideBandwidthEstimation::UpdateReceiverEstimate This is the entry/update point for the estimated bitrate in the REMBPacket or a Delay Based Controller estimated bitrate when the Delay based controller and the loss based controller lives on the send side. see internet draft on "Congestion Control for RTCWEB"
      • getLatestFractionLoss

        int getLatestFractionLoss()
        Returns:
        the latest effective fraction loss calculated by this BandwidthEstimator. The value is between 0 and 256 (corresponding to 0% and 100% respectively).