ignoreSignal static method

Future<void> ignoreSignal(
  1. Signal signal
)

Registers a new ignored signal. Ignored signals are not handled by "FFmpegKit" library.

Implementation

static Future<void> ignoreSignal(Signal signal) async {
  try {
    await init();
    return _platform.ffmpegKitConfigIgnoreSignal(signal.index);
  } on PlatformException catch (e, stack) {
    print("Plugin ignoreSignal error: ${e.message}");
    return Future.error("ignoreSignal failed.", stack);
  }
}