开发者

How can we directly access webcam from Android emulator

开发者 https://www.devze.com 2023-02-10 13:05 出处:网络
I have been developing an application which needs to access video camera but with Android emulator i couldn\'t find a way to access my web cam directly as the Android device\'s camera. so any w开发者_

I have been developing an application which needs to access video camera but with Android emulator i couldn't find a way to access my web cam directly as the Android device's camera. so any w开发者_JAVA技巧ay to do this ?

Thanks !!


This isn't possible full stop.

Use a real device if you want to test recording video with your app.


I had the same problem but I had to find a solution. I saw Tom Gibara's solution and the Neil Davies' updated version but both worked with JMF which is quite obsolete ... and doesn't work with my Integrated Webcam. So I had to change some code and use the JMyron library for the Webcam Broadcaster.

But be aware that, like everybody said, there is no direct access. There are just some tricks to bypass the problem.

0

精彩评论

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