You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/02/11 12:21:00 UTC

[jira] [Closed] (CB-13860) Support taking pictures automatically

     [ https://issues.apache.org/jira/browse/CB-13860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-13860.
-----------------------------
    Resolution: Won't Do

That's out of the scope of the plugin. Doing something like that would require a complete rewrite of the plugin as, as you say, it uses intents now and it's not possible to do it with intents (same for iOS).
There are 3rd party plugins available with such functionality, and it's also possible on Android using getUserMedia without plugins

> Support taking pictures automatically
> -------------------------------------
>
>                 Key: CB-13860
>                 URL: https://issues.apache.org/jira/browse/CB-13860
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: cordova-plugin-camera
>    Affects Versions: cordova-android-7.0.0
>         Environment: All
>            Reporter: Benjamin Hill
>            Priority: Minor
>              Labels: features
>
> All of the code seems to be directed at the use case of "send user to Camera app intent, let them take a picture, get the results"
> Which is great, unless you want to do something automatic, like taking a picture on a timer, or taking a picture every second to create a time-lapse, etc. 
> Proposed: A new API call that lets the camera's parameters (focus, exposure etc) stabilize and immediately snaps the pic and returns.
> The example at [https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Taking_still_photos] looks like it is taking a frame from the Video feed, which is lower res, ideal would be a full-still-res photo.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org