asyncGetMediaInformationExecute static method
Future<void>
asyncGetMediaInformationExecute(
- MediaInformationSession mediaInformationSession, [
- int? waitTimeout = null
Starts an asynchronous FFprobe execution for the given media information session.
Note that this method returns immediately and does not wait the execution to complete. You must use an MediaInformationSessionCompleteCallback if you want to be notified about the result.
Implementation
static Future<void> asyncGetMediaInformationExecute(
MediaInformationSession mediaInformationSession,
[int? waitTimeout = null]) async {
try {
await init();
return _platform.ffmpegKitConfigAsyncGetMediaInformationExecute(
mediaInformationSession.getSessionId(), waitTimeout);
} on PlatformException catch (e, stack) {
print("Plugin asyncGetMediaInformationExecute error: ${e.message}");
return Future.error("asyncGetMediaInformationExecute failed.", stack);
}
}