Relationship between "tapToFocus" and "isAutoFocusEnabled" #1521
replicant1
started this conversation in
General
Replies: 2 comments
-
|
Hello, Yes, this seem a bug. For now, you can call enableAutoFocus the first time before tapToFocus and this way you will solve the problem. Camera2 is affected too. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Fixed here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Pedro - I have a question about the "auto focus" feature in RootEncoder. When I call
RtmpCamera1.enableAutoFocus(), if autofocus is supported by the camera, the Camera.ParameterFOCUS_MODE_AUTOis set and a fieldautoFocusEnabledis set totrue. But when I calltapToFocus, only theFOCUS_MODE_AUTOparameter is set, and the fieldautoFocusEnabledis not changed. It looks to me like the fieldautoFocusEnabledceases to be correlated with the camera's current focus mode once you calltapToFocus? Is this a bug - or perhaps a gap in my understanding? It seems to me thatautoFocusEnabledshould be set totrueintapToFocus()- either in the main body of the method or in theautoFocusTakePictureCallbackreferenced at the end of the method. Your thoughts?Beta Was this translation helpful? Give feedback.
All reactions