lastEncodedFrameBytes property

int get lastEncodedFrameBytes

Size in bytes of the bitstream produced by the most recent non-dropped frame. 0 if no frame has been encoded yet or the last frame was dropped. Equivalent to lastFrameStats?.bytesEmitted ?? 0.

Implementation

int get lastEncodedFrameBytes => _lastStats?.bytesEmitted ?? 0;