writeToPipe static method

Future<int?> writeToPipe(
  1. String inputPath,
  2. String pipePath
)

Writes inputPath to pipePath.

Implementation

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