asyncFFprobeExecute static method

Future<void> asyncFFprobeExecute(
  1. FFprobeSession ffprobeSession
)

Starts an asynchronous FFprobe execution for the given session.

Note that this method returns immediately and does not wait the execution to complete. You must use an FFprobeSessionCompleteCallback if you want to be notified about the result.

Implementation

static Future<void> asyncFFprobeExecute(FFprobeSession ffprobeSession) async {
  try {
    await init();
    return _platform
        .ffmpegKitConfigAsyncFFprobeExecute(ffprobeSession.getSessionId());
  } on PlatformException catch (e, stack) {
    print("Plugin asyncFFprobeExecute error: ${e.message}");
    return Future.error("asyncFFprobeExecute failed.", stack);
  }
}