public class BandwidthEstimatorImpl extends RTCPReportAdapter implements BandwidthEstimator, org.jitsi.utils.concurrent.RecurringRunnable
BandwidthEstimator.Listener, BandwidthEstimator.Statistics| Modifier and Type | Field and Description |
|---|---|
static String |
START_BITRATE_BPS_PNAME
The system property name of the initial value of the estimation, in bits
per second.
|
| Constructor and Description |
|---|
BandwidthEstimatorImpl(MediaStreamImpl stream)
Initializes a new instance which is to belong to a particular
MediaStream. |
| 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() |
org.jitsi.impl.neomedia.rtp.sendsidebandwidthestimation.SendSideBandwidthEstimation.StatisticsImpl |
getStatistics() |
long |
getTimeUntilNextRun() |
void |
removeListener(BandwidthEstimator.Listener listener)
Removes a listener.
|
void |
rtcpReportReceived(net.sf.fmj.media.rtp.RTCPReport report)
Notifies this listener that a specific RTCP SR or RR was received by the
local endpoint.
|
void |
run() |
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.
|
rtcpExtendedReportReceived, rtcpExtendedReportSent, rtcpReportSentpublic static final String START_BITRATE_BPS_PNAME
public BandwidthEstimatorImpl(MediaStreamImpl stream)
MediaStream.stream - the MediaStream.public void rtcpReportReceived(net.sf.fmj.media.rtp.RTCPReport report)
rtcpReportReceived in interface RTCPReportListenerrtcpReportReceived in class RTCPReportAdapterreport - the received RTCP SR or RRpublic void addListener(BandwidthEstimator.Listener listener)
BandwidthEstimatoraddListener in interface BandwidthEstimatorpublic void removeListener(BandwidthEstimator.Listener listener)
BandwidthEstimatorremoveListener in interface BandwidthEstimatorpublic long getLatestEstimate()
getLatestEstimate in interface BandwidthEstimatorpublic long getLatestREMB()
getLatestREMB in interface BandwidthEstimatorpublic void updateReceiverEstimate(long bandwidth)
updateReceiverEstimate in interface BandwidthEstimatorpublic int getLatestFractionLoss()
getLatestFractionLoss in interface BandwidthEstimatorBandwidthEstimator. The value is between 0 and 256 (corresponding
to 0% and 100% respectively).public org.jitsi.impl.neomedia.rtp.sendsidebandwidthestimation.SendSideBandwidthEstimation.StatisticsImpl getStatistics()
getStatistics in interface BandwidthEstimatorpublic long getTimeUntilNextRun()
getTimeUntilNextRun in interface org.jitsi.utils.concurrent.RecurringRunnableCopyright © 2022 jitsi.org. All rights reserved.