Skip to content

Mirror SurfaceFilterRender / Camera #2009

@xdavidradl

Description

@xdavidradl

Hi I have a preview with the back facing camera and on top of that a SurfaceFilterRender, where the front facing camera is writing to. So a dual camera setup with picture in picture.
I now tried to mirror only the SurfaceFilterRender (Rotation as another filter with flip), but that mirrors everything.

Is there a way to mirror only the SurfaceFilterRender (or mirror the camera itself) without mirroring everything "below"? So the back facing camera stays normal and only the front cam is mirrored? I could not find anything in the Camera2 API, maybe there is a solution?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions