onFrameDropped property

void Function()? get onFrameDropped

Optional callback fired immediately after the rate controller drops a frame. Mirrors the bookkeeping behaviour of Vp8CumulativeStats.droppedFrames. Exceptions raised by the callback propagate out of encodeFrame. Mutable at runtime via setOnFrameDropped.

Implementation

void Function()? get onFrameDropped => _onFrameDropped;