Skip to content

Camera Preview Blinking When Forcing Landscape Orientation in GenericCamera #54

@HariHarankj

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

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