You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found that switching cameras (calling method flipCaptureDevicePosition) from back to front is quite problematic in .video only when you choose a video configuration preset that is not supported in the front camera hardware such as .hd1920x1080.
I have tested on a couple devices (iPhone SE, X, iPad Air) and switching from back camera to front results in a black screen and no output if you switch to an unsupported preset.
Before switching to the front camera, the capture session's video configuration preset should be automatically switched to .high. When switching to the back camera, the preset should go back to what was set.
I have checked other Swift Camera libraries, namely Swifty Cam, and they do the aforementioned. Any suggestions on how to do this and catch up with our competitor?
The text was updated successfully, but these errors were encountered:
I have found that switching cameras (calling method flipCaptureDevicePosition) from back to front is quite problematic in .video only when you choose a video configuration preset that is not supported in the front camera hardware such as .hd1920x1080.
I have tested on a couple devices (iPhone SE, X, iPad Air) and switching from back camera to front results in a black screen and no output if you switch to an unsupported preset.
Replicate:
Suggestion:
Before switching to the front camera, the capture session's video configuration preset should be automatically switched to .high. When switching to the back camera, the preset should go back to what was set.
I have checked other Swift Camera libraries, namely Swifty Cam, and they do the aforementioned. Any suggestions on how to do this and catch up with our competitor?
The text was updated successfully, but these errors were encountered: