class OveruseDetector extends java.lang.Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Update the detection state based on the estimated inter-arrival time delta offset.
Returns the current detector state.
public OveruseDetector(OverUseDetectorOptions options, @NotNull @NotNull DiagnosticContext diagnosticContext)
public BandwidthUsage detect(double offset, double tsDelta, int numOfDeltas, long nowMs)
timestampDeltais the delta between the last timestamp which the estimated offset is based on and the last timestamp on which the last offset was based on, representing the time between detector updates.
numOfDeltasis the number of deltas the offset estimate is based on. Returns the state after the detection update.
public BandwidthUsage getState()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.