compress method
Future<VideoCompressResult>
compress(
- String id,
- String path,
- VideoCompressConfig config,
- 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.');