create static method
Future<FFprobeSession>
create(
- List<
String> argumentsArray, [ - FFprobeSessionCompleteCallback? completeCallback = null,
- LogCallback? logCallback = null,
- LogRedirectionStrategy? logRedirectionStrategy = null,
Creates a new FFprobe session with argumentsArray
.
Implementation
static Future<FFprobeSession> create(List<String> argumentsArray,
[FFprobeSessionCompleteCallback? completeCallback = null,
LogCallback? logCallback = null,
LogRedirectionStrategy? logRedirectionStrategy = null]) async {
final session = await AbstractSession.createFFprobeSession(
argumentsArray, logRedirectionStrategy);
final sessionId = session.getSessionId();
FFmpegKitFactory.setFFprobeSessionCompleteCallback(
sessionId, completeCallback);
FFmpegKitFactory.setLogCallback(sessionId, logCallback);
return session;
}