piemonte / PBJVision

📸 iOS Media Capture – features touch-to-record video, slow motion, and photography
MIT License
1.94k stars 324 forks source link

PBJFocusModeContinuousAutoFocus appears not to be working when the camera mode is set to PBJCameraModeVideo #306

Closed sasojadrovski closed 3 years ago

sasojadrovski commented 8 years ago

Hello @piemonte,

First of all let me thank you for the amazing work that you have done on this library! I have been using it on several projects now, and it still amazes me :)

For one of the projects I am using the library for video recording. Until now I have been using it only for recording videos with the Front camera, but now I need to be able to record videos using the back camera as well. I have implemented the camera switch, but when the switch occurs (while still in preview and not recording), the auto focus seems to stop working :(

This is not the case with the PBJExposureModeContinuousAutoExposure - this one works as it should.

Could you please take a look at this one and check whether it is a small bug. Otherwise, please provide me some guidelines on how to implement the camera switch (while in preview) just to make sure that I am not doing anything wrong.

Thanks in advance!

piemonte commented 8 years ago

hey @sasojadrovski thanks for reaching out. bummer to hear about the bug, i'll mark this and try to help when i can or get a collaborator to help.

i'm involved with a contract so i'm unable to personally support updates. a friend of mine and i do have some more video libraries in the works which is getting a lot more attention, will share soon.

GabeJacobs commented 7 years ago

Would love an update on this!