I have created a web app with Cordova and I need to show a live camera stream in my background. It seems that the Camera/Videos APIs from Cordova just open the native Camera/Video apps instead of returning live camera data. What I really need is something like getUserMedia()
which is only available on Opera and Chrome (June 2012).
Is there a shim to use getUserMedia()
within Cordova or any Plugins which behave similarly?
There's a plugin for capturing the camera stream, It uses AVCaptureVideoDataOutput
to create a capture session. Each frame is base64 encoded and passed to the Cordova UIWebView. Its experimental and is slower than any native approach.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With