asyncFFmpegExecute static method
Starts an asynchronous FFmpeg execution for the given session.
Note that this method returns immediately and does not wait the execution to complete. You must use an FFmpegSessionCompleteCallback if you want to be notified about the result.
Implementation
static Future<void> asyncFFmpegExecute(FFmpegSession ffmpegSession) async {
try {
await init();
return _platform
.ffmpegKitConfigAsyncFFmpegExecute(ffmpegSession.getSessionId());
} on PlatformException catch (e, stack) {
print("Plugin asyncFFmpegExecute error: ${e.message}");
return Future.error("asyncFFmpegExecute failed.", stack);
}
}