Interface BandwidthMeter

  • All Known Implementing Classes:
    DefaultBandwidthMeter

    public interface BandwidthMeter
    Provides estimates of the currently available bandwidth.
    • Method Detail

      • getBitrateEstimate

        long getBitrateEstimate()
        Returns the estimated bitrate.
      • getTimeToFirstByteEstimateUs

        default long getTimeToFirstByteEstimateUs()
        Returns the estimated time to first byte, in microseconds, or C.TIME_UNSET if no estimate is available.
      • getTransferListener

        @Nullable
        TransferListener getTransferListener()
        Returns the TransferListener that this instance uses to gather bandwidth information from data transfers. May be null if the implementation does not listen to data transfers.