Skip to content

Facing mode environment is only flipping the camera horizontally #49

@andregoncalvesdev

Description

@andregoncalvesdev

Hello @JonatanSalas !

I´m trying to use the back camera of the phone to scan, and to do that i am changing the default constraints to { facingMode: 'environment' }.

The camera that is used is still the front one, and it only flips the video horizontally. I can reproduce this on my project aswell as on the demo of the package. Tried on different phones aswell.

I also tried { facingMode: { exact: 'environment' } } and { facingMode: { ideal: 'environment' } } but with no success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions