getStatisticsCount method

int getStatisticsCount()

Returns the number of statistics snapshots buffered for this session.

Implementation

int getStatisticsCount() {
  FFmpegKitExtended.requireInitialized();
  try {
    return ffmpegKitBackend.getStatisticsCount(handle);
  } catch (e, st) {
    log(
      'Session.getStatisticsCount: error getting statistics count ffmpeg_kit_session_get_statistics_count',
      error: e,
      stackTrace: st,
    );
    rethrow;
  }
}