Package org.jitsi.service.neomedia.rtp
Interface BandwidthEstimator
-
- All Known Implementing Classes:
BandwidthEstimatorImpl
public interface BandwidthEstimator- Author:
- Boris Grozev
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceBandwidthEstimator.Listenerstatic interfaceBandwidthEstimator.StatisticsHolds stats specific to the bandwidth estimator.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(BandwidthEstimator.Listener listener)Adds a listener to be notified about changes to the bandwidth estimation.longgetLatestEstimate()intgetLatestFractionLoss()longgetLatestREMB()BandwidthEstimator.StatisticsgetStatistics()voidremoveListener(BandwidthEstimator.Listener listener)Removes a listener.voidupdateReceiverEstimate(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.
-
-
-
Method Detail
-
addListener
void addListener(BandwidthEstimator.Listener listener)
Adds a listener to be notified about changes to the bandwidth estimation.- Parameters:
listener-
-
removeListener
void removeListener(BandwidthEstimator.Listener listener)
Removes a listener.- Parameters:
listener-
-
getLatestEstimate
long getLatestEstimate()
- Returns:
- the latest estimate.
-
getLatestREMB
long getLatestREMB()
- Returns:
- the latest values of the Receiver Estimated Maximum Bandwidth.
-
getStatistics
BandwidthEstimator.Statistics getStatistics()
- Returns:
- the
BandwidthEstimator.Statisticsspecific to this bandwidth estimator.
-
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).
-
-