registerNewFFmpegPipe static method

Future<String?> registerNewFFmpegPipe()

Creates a new named pipe to use in "FFmpeg" operations.

Please note that creator is responsible of closing created pipes.

Implementation

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