This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 74
选取或者拍摄视频,使用这个方法获取视频时,如何获取处理视频的进度 #33
Comments
|
请问下:PickerConfiguration 和 PhotoEditorConfiguration能不能像CameraConfiguration 那样加上modalPresentationStyle的属性? |
下个版本会加上 |
SilenceLove
added a commit
that referenced
this issue
Feb 19, 2022
|
谢谢。新年快乐 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
/// 获取视频地址
/// - Parameters:
/// - exportPreset: 视频分辨率,默认
ratio_640x480
,传 nil 获取则是原始视频/// - videoQuality: 视频质量[0-10],默认4,
exportPreset
不为nil时有效/// - exportSession: 导出视频时对应的 AVAssetExportSession,exportPreset不为nil时触发
/// - videoURLHandler: 每一次获取视频地址都会触发
/// - completionHandler: 全部获取完成(失败的不会添加)
func getVideoURL(
exportPreset: ExportPreset? = .ratio_640x480,
videoQuality: Int = 4,
exportSession: AVAssetExportSessionHandler? = nil,
videoURLHandler: URLHandler? = nil,
completionHandler: @escaping ([URL]) -> Void
) {
photoAssets.getVideoURL(
exportPreset: exportPreset,
videoQuality: videoQuality,
exportSession: exportSession,
videoURLHandler: videoURLHandler,
completionHandler: completionHandler
)
}
2:PickerConfiguration 和 PhotoEditorConfiguration能不能像CameraConfiguration 那样加上modalPresentationStyle的属性
The text was updated successfully, but these errors were encountered: