Skip to content
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

Update video output settings after configuring devices #232

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ngaer
Copy link

@ngaer ngaer commented Sep 18, 2020

Default and preconfigured videoStabilizationMode is never set cause updateVideoOutputSettings method is always called before devices are connected to capture session. So the only way to enable stabilization right now is to set it after starting recording session:

NextLevel.shared.start()
NextLevel.shared.videoStabilizationMode = .auto

I added call of updateVideoOutputSettings right after configuring of devices, so it can set current videoStabilizationMode properly.

@penguinbee
Copy link

Nice fix, ran into similar issues. Will test this patch and confirm.

penguinbee added a commit to penguinbee/NextLevel that referenced this pull request Oct 13, 2020
penguinbee added a commit to penguinbee/NextLevel that referenced this pull request Oct 13, 2020
penguinbee added a commit to penguinbee/NextLevel that referenced this pull request Oct 13, 2020
Base automatically changed from master to main March 3, 2021 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants