dropRatePercent property
double
get
dropRatePercent
Fraction of all attempted frames that were dropped by the rate
controller, expressed as a percent (0.0 .. 100.0). The denominator
is framesEncoded + droppedFrames. 0.0 when no frames have been
attempted yet.
Implementation
double get dropRatePercent {
final attempted = _framesEncoded + _droppedFrames;
return attempted == 0 ? 0.0 : 100.0 * _droppedFrames / attempted;
}