Skip to content

Camera Preview Blinking When Forcing Landscape Orientation in GenericCamera #54

Description

@HariHarankj

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

📹 Attached Video
I’ve attached a video Url that demonstrates the blinking issue in the camera preview when forcing landscape orientation.
Video Url: https://drive.google.com/file/d/1etv3uwa5pcxMpPgJL2Dy8BwBfeT091Cl/view?usp=sharing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions