closeFFmpegPipe method

Future<void> closeFFmpegPipe(
  1. String ffmpegPipePath
)

Closes a previously created FFmpeg pipe.

Implementation

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