This repository was archived by the owner on Oct 10, 2024. It is now read-only.
This repository was archived by the owner on Oct 10, 2024. It is now read-only.
IOS crash #54
Open
Description
after compress the video , couldn't get the file path
PathNotFoundException: Cannot retrieve length of file
final LightCompressor lightCompressor = LightCompressor();
final Result response = await lightCompressor.compressVideo(
path: file.path,
videoQuality: VideoQuality.medium,
isMinBitrateCheckEnabled: false,
video: Video(videoName: file.path.split('.').first),
android: AndroidConfig(
isSharedStorage: false,
),
ios: IOSConfig(saveInGallery: true),
);
debugPrint('==================> Compression finished <==============');
if (response is OnSuccess) {
debugPrint('==================> Compression OnSuccess <==============');
final String outputFile = response.destinationPath;
Metadata
Metadata
Assignees
Labels
No labels