Open alodevloper opened 6 months ago
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;
after compress the video , couldn't get the file path
PathNotFoundException: Cannot retrieve length of file
final LightCompressor lightCompressor = LightCompressor();