cancel method
Implementation
Future<void> cancel() async {
_cancelled = true;
final id = _sessionId;
if (id != null) {
try {
await FFmpegKit.cancel(id);
} catch (e) {
debugPrint('Cancel failed: $e');
}
}
}
Future<void> cancel() async {
_cancelled = true;
final id = _sessionId;
if (id != null) {
try {
await FFmpegKit.cancel(id);
} catch (e) {
debugPrint('Cancel failed: $e');
}
}
}