compress method

Future<VideoCompressResult> compress(
  1. String id,
  2. String path,
  3. VideoCompressConfig config,
  4. String? outputPath,
)

Compress path using config. id identifies the job (for progress correlation and cancellation). When outputPath is non-null the encoded file is written there; otherwise it lands in the plugin cache.

Implementation

Future<VideoCompressResult> compress(
  String id,
  String path,
  VideoCompressConfig config,
  String? outputPath,
) =>
    throw UnimplementedError('compress() has not been implemented.');