|Subject:||[Linphone-developers] Linphone Android - How To Auto Focus Camera|
|Date:||Tue, 14 Jul 2015 18:11:59 +0800|
|Hi Linphone Developers,|
I’m just wondering how can I enable the auto focus of the camera in Linphone Android. I see the API
public static void activateAutoFocus(Object cam)
which needs a Camera object to be passed in. When I try to pass in the Camera object in VideoCallFragment, it always throws RuntimeException, saying failed to connect to the camera. I suspect it is because the preview view is already using the Camera object, so that it can not be open again.
Then I try to get the Camera object in LinphoneManager, and it is okay without RuntimeException. However during video call the camera still can not auto focus.
I’ve already added related permissions in manifest.
Would you please explain the correct way to enable the auto focus?
Mobile Application Developer
Description: Adobe PDF document
|[Prev in Thread]||Current Thread||[Next in Thread]|