Ph开发者_如何转开发onegap's documentation suggests that there is a single method to access the camera, camera.getPicture().
Now I would like to access the video feed and draw something on top. Is this possible?
I made a PhoneGap Plugin for iOS to capture video streaming into a canvas or image: https://github.com/daraosn/Cordova-CanvasCamera
It's not the best way to do it (if you can, do it natively). I wouldn't recommend it for production apps yet, but it works good so far in development.
精彩评论