Open DerrickDevelop opened 7 years ago
Quick fix was setting the quality parameter in this function below under SwiftyCamViewController.swift to my desired resolution.
Not genuine fix, just workaround.
`fileprivate func configureVideoPreset() {
if currentCamera == .front {
session.sessionPreset = videoInputPresetFromVideoQuality(quality: .high)
} else {
if session.canSetSessionPreset(videoInputPresetFromVideoQuality(quality: .resolution3840x2160)) {
session.sessionPreset = videoInputPresetFromVideoQuality(quality: .resolution3840x2160)
} else {
session.sessionPreset = videoInputPresetFromVideoQuality(quality: .high)
}
}
}`
I justed tested and my iPhone 7 records at 3840x2160. Can you confirm this occurs for the back camera and not the front
When recording with VideoQuality.resolution3840x2160 the output video results in 1080p resolution.
Result is also the same on VideoQuality.high.
Tested on iPhone 6s Plus running 10.3.3.