executeAsync method

Future<int> executeAsync(
  1. String command,
  2. ExecuteCallback executeCallback
)

Executes FFmpeg asynchronously with command provided. This method starts the execution and does not wait the execution to complete. It returns immediately with executionId created for this execution.

Implementation

Future<int> executeAsync(
    String command, ExecuteCallback executeCallback) async {
  return executeAsyncWithArguments(
      FlutterSoundFFmpeg.parseArguments(command), executeCallback);
}