setSessionHistorySize static method

Future<void> setSessionHistorySize(
  1. int sessionHistorySize
)

Sets the session history size.

Implementation

static Future<void> setSessionHistorySize(int sessionHistorySize) async {
  try {
    await init();
    return _platform.ffmpegKitConfigSetSessionHistorySize(sessionHistorySize);
  } on PlatformException catch (e, stack) {
    print("Plugin setSessionHistorySize error: ${e.message}");
    return Future.error("setSessionHistorySize failed.", stack);
  }
}