We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If video is in landscape and in between change mode to portrait the video is zoomed . Like its not smoooth
NextLevel.shared.delegate = self NextLevel.shared.deviceDelegate = self NextLevel.shared.videoDelegate = self NextLevel.shared.captureMode = .video NextLevel.shared.deviceOrientation = .portrait NextLevel.shared.automaticallyUpdatesDeviceOrientation = true NextLevel.shared.flipCaptureDevicePosition() NextLevel.shared.audioConfiguration.bitRate = 44000 NextLevel.shared.devicePosition = .back
The text was updated successfully, but these errors were encountered:
nextLevel.previewLayer.connection!.videoOrientation = .portrait you should add this in the delegate methods as you like
Sorry, something went wrong.
@saarazari5 is correct. I ran into this issue as well.
func nextLevelSessionWillStart(_ nextLevel: NextLevel) { nextLevel.previewLayer.connection?.videoOrientation = .portrait' }
This corrected the issue and avoided any hacks trying to manipulate the device orientation.
No branches or pull requests
If video is in landscape and in between change mode to portrait the video is zoomed . Like its not smoooth
The text was updated successfully, but these errors were encountered: