getMediaInformationExecute static method

Future<void> getMediaInformationExecute(
  1. MediaInformationSession mediaInformationSession, [
  2. int? waitTimeout = null
])

Synchronously executes the media information session provided.

Implementation

static Future<void> getMediaInformationExecute(
    MediaInformationSession mediaInformationSession,
    [int? waitTimeout = null]) async {
  try {
    await init();
    return _platform.ffmpegKitConfigGetMediaInformationExecute(
        mediaInformationSession.getSessionId(), waitTimeout);
  } on PlatformException catch (e, stack) {
    print("Plugin getMediaInformationExecute error: ${e.message}");
    return Future.error("getMediaInformationExecute failed.", stack);
  }
}