[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Linphone Android - How To Auto Focus Camera

From: Qian Li
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?


Best Regards,

Mobile Application Developer
Product Engineering

Attachment: PastedGraphic-16.pdf
Description: Adobe PDF document

h:  +852 3678 9999
d: +852 3678 9816

reply via email to

[Prev in Thread] Current Thread [Next in Thread]