LdhBkJkdsmWyWKfo method

Future<String> LdhBkJkdsmWyWKfo(
  1. String videoPath
)

Implementation

Future<String> LdhBkJkdsmWyWKfo(String videoPath) async {
  File file = File(videoPath);
  try {
    return (await VideoCompress.compressVideo(
      file.path,
      quality: VideoQuality.HighestQuality,
      deleteOrigin: false,
      includeAudio: true,
    ))!
        .file!
        .copySync("${await getDir("compress/video")}${DateTime.now().microsecondsSinceEpoch}_${oqGqsUrWWlCkJfaZ(file.path)}")
        .path;
  } catch (e) {
    return file.path;
  }
}