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
glView = GLKView(frame: UIScreen.main.bounds)
cameraView = CGECameraViewHandler(glkView: glView)
if (cameraView?.setupCamera(AVCaptureSessionPreset1920x1080, cameraPosition: .back, isFrontCameraMirrored: false, authorizationFailed: {
print("Not allowed to open camera and microphone, please choose allow in the 'settings' page!!!")
}))! {
cameraView?.cameraDevice().videoCaptureConnection().videoOrientation = .landscapeRight
cameraView?.cameraDevice().startCameraCapture()
} else {
print("The Camera Is Not Allowed!")
}
I do not know why it work wrong. Please explain me?
Hi guy,
I did not found any CGECameraDevice properties to config camera landscape. Please help me.
Thanks.
The text was updated successfully, but these errors were encountered: