closeFFmpegPipe static method

Future<void> closeFFmpegPipe(
  1. String ffmpegPipePath
)

Closes a previously created "FFmpeg" pipe.

Implementation

static Future<void> closeFFmpegPipe(String ffmpegPipePath) async {
  try {
    await init();
    return _platform.ffmpegKitConfigCloseFFmpegPipe(ffmpegPipePath);
  } on PlatformException catch (e, stack) {
    print("Plugin closeFFmpegPipe error: ${e.message}");
    return Future.error("closeFFmpegPipe failed.", stack);
  }
}