[
https://issues.apache.org/jira/browse/CB-12710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986672#comment-15986672
]
Filip Maj commented on CB-12710:
--------------------------------
This should be definitely maintained, although we should look at where the
state of built-in platform support is at.
Transitioning this API would be a challenge, I think. This plugin covers a
bunch of different kinds of functionality under its umbrella:
- taking a picture with the camera
- choosing a picture from a gallery/picture store application
- recording a video
The relevant W3C specs to those kinds of features include:
- The one you referenced, Simon, the media capture image spec:
https://www.w3.org/TR/image-capture/
- Note that the above spec relies on objects ({{MediaStream}} in particular)
provided by the media capture and streams spec:
https://www.w3.org/TR/mediacapture-streams/
- There is a separate spec, also based on {{MediaStream}}, that provides a
"simple" API for recording streams (both audio and video):
https://www.w3.org/TR/mediastream-recording/
- Finally, there is also an addition of recording streams of media (audio,
video, image) via HTML elements: https://www.w3.org/TR/mediacapture-fromelement/
Sorting through all of that, to me, is a big task, but a necessary one if we
want cordova device APIs to remain spec-relevant.
> Camera - [SUNSET | KEEP | INTEGRATE]
> ------------------------------------
>
> Key: CB-12710
> URL: https://issues.apache.org/jira/browse/CB-12710
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: Plugin Camera
> Reporter: Shazron Abdullah
>
> See parent issue.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]