Set better video default setting

This commit is contained in:
Thomas Ricouard 2023-02-10 18:49:03 +01:00
parent dbdcf4c2d6
commit e261e3a904

View file

@ -105,7 +105,7 @@ struct MovieFileTranseferable: Transferable {
get async {
await withCheckedContinuation { continuation in
let urlAsset = AVURLAsset(url: url, options: nil)
guard let exportSession = AVAssetExportSession(asset: urlAsset, presetName: AVAssetExportPresetMediumQuality) else {
guard let exportSession = AVAssetExportSession(asset: urlAsset, presetName: AVAssetExportPreset1920x1080) else {
continuation.resume(returning: nil)
return
}