开发者

How to record video from Front Facing Camera?

we got a require开发者_StackOverflowment to record video from front and rear cameras simultaniously.. In the Android 2.1 SDK we only have the MediaRecorder.VideoSource.CAMERA and DEFAULT, but not FRONT_CAMERA and REAR_CAMERA. So, is there any other way to record from Front camera.. like any third party API's.. thank you..


I only know of two devices that have a front camera and that are on 2.1 or that were on 2.1 (EVO and Epic in the US from Sprint). Sprint actually packages the front facing camera in a vendor specific lib that you can lookup via reflection. They describe the process for their specific library in section 3.4 of their developer documentation (https://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr) I suspect other vendors do the same in their BSP.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜