Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

视频Capture第一秒卡顿,之后正常 #101

Open
buluoray opened this issue Jun 29, 2021 · 2 comments
Open

视频Capture第一秒卡顿,之后正常 #101

buluoray opened this issue Jun 29, 2021 · 2 comments

Comments

@buluoray
Copy link

你做了什么?

使用image capture录制视频

你的预期是什么?

顺滑的视频

实际发生了什么?

第一秒卡顿

环境

func makeUIViewController(context: Context) -> ImageCaptureController {
var options = CaptureOptionsInfo()
options.tintColor = .fiOrange!
options.preferredPresets = [.hd1920x1080_30]
options.videoMaximumDuration = 30
options.editorPhotoOptions.tintColor = .fiOrange!
options.editorPhotoOptions.mosaicOptions = [.default, .colorful, .custom(icon: UIImage(named: DataConstants.Values.companyLogoMini), mosaic: UIImage(named: DataConstants.Values.mosaic) ?? UIImage())]
let controller = ImageCaptureController(options: options, delegate: context.coordinator)
return controller
}

AnyImageKit 版本:
Xcode 版本:12
Swift 版本:
iOS/iPadOS/macOS 版本:14.7

@anotheren
Copy link
Member

请提供真机设备型号?

@buluoray
Copy link
Author

iphone 11 pro. 在capture刚加载好时立即录制就会卡顿,等一小会再录制不卡顿

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants