Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: Mirroring front camera #67

Open
Zechst opened this issue Aug 24, 2024 · 3 comments
Open

[Feat]: Mirroring front camera #67

Zechst opened this issue Aug 24, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Zechst
Copy link

Zechst commented Aug 24, 2024

Version

1.2.0

Environment that reproduces the issue

iPhone 11 Plus and Samsung Galaxy S24

Use case description

Would it be possible to expose more camera settings so I can invert the front camera as and when we want with a switch of a button while streaming?

Proposed solution

No response

Alternative solutions

No response

@Zechst Zechst added the enhancement New feature or request label Aug 24, 2024
@ThibaultBee
Copy link
Member

Hi,

As far as I remember the front camera is mirrored.
Do you want a switch to toggle the fonr camera mirror? I don't see any use case for this. Could you explain what you are trying to achieve?

@Zechst
Copy link
Author

Zechst commented Aug 26, 2024

Hi,

Sure I would be happy to. The reason for the toggle is because my users sells product during live, and that

  1. Unmirrored would help them better position themselves within frame while they conduct live sales on the move
  2. Mirror would help them showcase product labels and designs in the correct orientation.

Hope my explanation makes sense

@sbkyle
Copy link

sbkyle commented Oct 22, 2024

Please note that there are differences when using the front camera during livestreaming, depending on each version as an image below (1.1.1 & 1.1.3 & 1.2.0)

Version 1.1.1    
                      Local Preview                     Stream
Android:              mirror                            mirror
IOS:                  no mirror                         no mirror

Version 1.1.3    
                      Local Preview                     Stream
Android:              mirror                            mirror
IOS:                  mirror                            mirror

Version 1.2.0    
                      Local Preview                     Stream
Android:              mirror                            no mirror
IOS:                  mirror                            mirror

EXPECT   
                      Local Preview                     Stream
Android:              mirror                            no mirror
IOS:                  mirror                            no mirror

I’ve outlined the expectations for the "Local Preview" and "Stream" sections for both Android and iOS above. In the local preview, the camera is always mirrored, while during the livestream, it always displays without the mirror effect. Thank you! @ThibaultBee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants