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’m trying to set the camera preview to landscape mode using GenericCamera. My requirement is to lock the preview in landscape orientation only and prevent it from switching to portrait.
To achieve this, I tried setting static values for orientation and rotation, but the camera preview starts blinking/flickering continuously, making it unstable.
🎯 Goal:
Force the camera preview to remain in landscape mode
Prevent any orientation change to portrait
Avoid any flicker or blinking on the preview surface