NextLevel
NextLevel copied to clipboard
Update video output settings after configuring devices
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.
Nice fix, ran into similar issues. Will test this patch and confirm.