isSupported method

  1. @override
Future<bool> isSupported()
override

Whether this platform can compress video at all. Always true on native; on web it reports WebCodecs + demux/mux availability.

Implementation

@override
Future<bool> isSupported() async {
  try {
    await _ensureLoaded();
    return true;
  } catch (_) {
    return false;
  }
}