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
切换前后摄像头拍摄视频后,预览视频没有充满屏幕 #788
Comments
目前就是没有充满屏幕的,参照微信 |
两个问题: |
好的,这两天我试下,跟设备有关吗?麻烦提供下设备型号和系统型号 |
1.切换至后置摄像头,然后开始录像,录像期间切换摄像头,拍出来的视频后置摄像头录像的部分是正常的,前置摄像头录像的部分只有半截(见上面回复内容图片第二张)(iPhone 8 Plus ,iOS 13.6) 感谢! |
我按照上面的描述试了下
|
ZLCustomCamera类
setupCamera()方法
504行
previewLayer?.videoGravity = .resizeAspect --> .resizeAspectFill
The text was updated successfully, but these errors were encountered: