public interface BandwidthEstimator
Modifier and Type | Interface and Description |
---|---|
static interface |
BandwidthEstimator.Listener |
static interface |
BandwidthEstimator.Statistics
Holds stats specific to the bandwidth estimator.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(BandwidthEstimator.Listener listener)
Adds a listener to be notified about changes to the bandwidth estimation.
|
long |
getLatestEstimate() |
int |
getLatestFractionLoss() |
long |
getLatestREMB() |
BandwidthEstimator.Statistics |
getStatistics() |
void |
removeListener(BandwidthEstimator.Listener listener)
Removes a listener.
|
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.
|
void addListener(BandwidthEstimator.Listener listener)
listener
- void removeListener(BandwidthEstimator.Listener listener)
listener
- long getLatestEstimate()
long getLatestREMB()
BandwidthEstimator.Statistics getStatistics()
BandwidthEstimator.Statistics
specific to this bandwidth estimator.void updateReceiverEstimate(long bandwidth)
int getLatestFractionLoss()
BandwidthEstimator
. The value is between 0 and 256 (corresponding
to 0% and 100% respectively).
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.