public class SendSideBandwidthEstimation.StatisticsImpl extends java.lang.Object implements BandwidthEstimator.Statistics
Constructor and Description |
---|
StatisticsImpl() |
Modifier and Type | Method and Description |
---|---|
long |
getLossDegradedMs() |
long |
getLossFreeMs() |
long |
getLossLimitedMs() |
void |
update(long nowMs) |
(package private) void |
update(long nowMs,
boolean currentStateHasTimedOut,
org.jitsi.impl.neomedia.rtp.sendsidebandwidthestimation.SendSideBandwidthEstimation.LossRegion nextState)
Records a state transition and updates the statistics information.
|
public void update(long nowMs)
update
in interface BandwidthEstimator.Statistics
void update(long nowMs, boolean currentStateHasTimedOut, org.jitsi.impl.neomedia.rtp.sendsidebandwidthestimation.SendSideBandwidthEstimation.LossRegion nextState)
nowMs
- the time (in millis) of the transition.currentStateHasTimedOut
- true if the current state has timed
out, i.e. we haven't received receiver reports "in a while".nextState
- the that the bwe is transitioning to.public long getLossLimitedMs()
getLossLimitedMs
in interface BandwidthEstimator.Statistics
public long getLossDegradedMs()
getLossDegradedMs
in interface BandwidthEstimator.Statistics
public long getLossFreeMs()
getLossFreeMs
in interface BandwidthEstimator.Statistics
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.