getFFmpegVersion method
Returns FFmpeg version bundled within the library.
Implementation
Future<String?> getFFmpegVersion() async {
try {
var result = await _methodChannel.invokeMethod('getFFmpegVersion');
return result['version'];
} on PlatformException catch (e, stack) {
logger.e('Plugin getFFmpegVersion error: ${e.message}');
return Future.error('getFFmpegVersion failed.', stack);
}
}