cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plaquette, Paul" <paul.plaque...@intel.com>
Subject Re: Media APIs - some research and discussion
Date Tue, 22 Jan 2013 10:20:08 GMT
I think Google is going away from WebIntents.


On Mon, Jan 21, 2013 at 3:01 PM, Brian LeRoux <b@brian.io> wrote:

> I think that spec is defunct and the functionality was removed from
> Chrome recently.
>
> =.(
>
> On Sun, Jan 20, 2013 at 10:29 PM, Simon MacDonald
> <simon.macdonald@gmail.com> wrote:
> > Just reading everything over and looking at the way things are going it
> > seems like we should get the Web Intents API implemented. Looks like
> there
> > is already a shim implemented here:
> >
> > https://github.com/PaulKinlan/WebIntents
> >
> > with an APL license.
> >
> >
> > Simon Mac Donald
> > http://hi.im/simonmacdonald
> >
> >
> > On Fri, Jan 18, 2013 at 4:20 PM, Becky Gibson <gibson.becky@gmail.com
> >wrote:
> >
> >> I was looking at the open issues for iOS and found some related to
> >> capture/camera and media so I decided to see what the state of the
> latest
> >> W3C APIs are for these things.  It wasn't a pleasant journey!
> >>
> >> There seem to be three apis that cover our camera/capture and media.
>  Note
> >> that the referenced URLs are to the latest published draft although many
> >> have updated editor's drafts.
> >>
> >>
> >>    - Pick Media Intent ( http://www.w3.org/TR/gallery/)  Pick stored
> Media
> >>    (images, audio, video) from various sources.
> >>    - HTML Media Capture (http://www.w3.org/TR/html-media-capture/) -
> HTML
> >>    form extension to allow user access to capture media from the
> device's
> >> via
> >>    still camera, video, microphone via the File upload control.
>  Appears to
> >>    have replaced the Media Capture API (
> >>    http://www.w3.org/TR/2010/WD-capture-api-20100401/) since all links
> on
> >>    that page to Latest Published Draft and Latest Editor's Draft refer
> the
> >> the
> >>    HTML Media Capture spec and there is no longer any reference to the
> >> Media
> >>    Capture API on the Device API working group page (
> >>    http://www.w3.org/2009/dap/)
> >>    - Media Capture and Streams (http://www.w3.org/2009/dap/) Access to
> >>    multi media streams (video camera, microphone, stored media) from a
> >> device.
> >>
> >>
> >> Thus, it seems that the Pick Media Intent would replace the Camera apis
> for
> >> selecting existing images and video.  It would add the ability to pick
> from
> >> existing audio.  Perhaps it is time to dive into the Web Intents spec
> and
> >> consider implementation ....
> >>
> >> HTML Media Capture allows capturing media but it is tied to the input
> >> element.  It also provides for uploading the captured data.   This
> seems to
> >> have replaced the Media Capture API that we implemented.   I'm not sure
> how
> >> we can incorporate this into Cordova as there are no real apis, just
> >> attributes on the input element for the browser to implement and provide
> >> the UI.   Although this seems to be the only W3C mechanism for accessing
> >> the still camera to capture an image!
> >>
> >> The Media Capture and Streams could replace our Media and Capture Video
> >> apis, but this is much more complicated.  It also, in my opinion,
> doesn't
> >> seem all that well baked at the moment with a fair amount of open issues
> >> for defining some of the constants.
> >>
> >> Thus, I was a bit overwhelmed at how to address some of the Media and
> >> camera issues!   I did discuss this briefly with Simon and was relieved
> >> that he was considering the HTML apis for media as our solution for
> Media (
> >>
> >>
> http://www.position-absolute.com/articles/introduction-to-the-html5-audio-tag-javascript-manipulation/
> >> ).
> >>   Perhaps the best way to tackle our media is to normalize our media
> apis
> >> around the HTML Media apis.
> >>
> >> The point of this email?   To capture my foray into the W3C Capture Apis
> >> and perhaps start a discussion on the next steps for Camera, Capture and
> >> Media apis.
> >>
> >> My next foray is into the changes to Contacts - this is now a Web
> Intent as
> >> well.
> >>
> ---------------------------------------------------------------------
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris,
> 92196 Meudon Cedex, France
> Registration Number:  302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
>


-- 
____________________________

Paul Plaquette,
Senior Software Engineer
Intel Corporation SAS
Open source Technology Center - OTC
France, Montpellier

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message