Re: Intent to implement and ship: ImageCapture

2014-09-05 Thread Henri Sivonen
On Wed, Sep 3, 2014 at 12:15 PM, Alfredo Yang ay...@mozilla.com wrote: Summary: Allow web authors to take photo via gUM video track. Does this have the same privacy protections as current gUM? Is current gUM restricted to authenticated origins? If it isn't, is it realistic to restrict it to

Re: Intent to implement and ship: ImageCapture

2014-09-05 Thread Robert O'Callahan
On Fri, Sep 5, 2014 at 10:19 PM, Henri Sivonen hsivo...@hsivonen.fi wrote: Does this have the same privacy protections as current gUM? Yes. You can only use this on a stream you've already acquired (e.g. via current gUM, but other APIs also produce streams). You can already shunt a MediaStream

Restricting gUM to authenticated origins only (was: Re: Intent to implement and ship: ImageCapture)

2014-09-05 Thread Henri Sivonen
On Fri, Sep 5, 2014 at 1:25 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Fri, Sep 5, 2014 at 10:19 PM, Henri Sivonen hsivo...@hsivonen.fi wrote: Is current gUM restricted to authenticated origins? If it isn't, is it realistic to restrict it to authenticated origins? That's a good idea

Re: Restricting gUM to authenticated origins only (was: Re: Intent to implement and ship: ImageCapture)

2014-09-05 Thread Robert O'Callahan
On Fri, Sep 5, 2014 at 10:34 PM, Henri Sivonen hsivo...@hsivonen.fi wrote: On Fri, Sep 5, 2014 at 1:25 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Fri, Sep 5, 2014 at 10:19 PM, Henri Sivonen hsivo...@hsivonen.fi wrote: Is current gUM restricted to authenticated origins? If it

Re: Restricting gUM to authenticated origins only (was: Re: Intent to implement and ship: ImageCapture)

2014-09-05 Thread Eric Rescorla
On Fri, Sep 5, 2014 at 3:34 AM, Henri Sivonen hsivo...@hsivonen.fi wrote: On Fri, Sep 5, 2014 at 1:25 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Fri, Sep 5, 2014 at 10:19 PM, Henri Sivonen hsivo...@hsivonen.fi wrote: Is current gUM restricted to authenticated origins? If it

Re: Intent to implement and ship: ImageCapture

2014-09-04 Thread Ehsan Akhgari
It seems like this API addresses at least some of the use cases of our Camera API for Firefox OS (things such as being able to display a preview video stream, being able to adjust some picture quality parameters, etc.). I am wondering if you know how much of the Camera API use cases this is

Re: Intent to implement and ship: ImageCapture

2014-09-04 Thread Mike Habicher
I've been steering the underlying ICameraControl implementation (dom/camera) towards better support for ImageCapture's usage model for a while. If we can fill in support for the missing features we currently use (see CameraCapabilities.webidl) then I

Re: Intent to implement and ship: ImageCapture

2014-09-04 Thread Jonas Sicking
On Wed, Sep 3, 2014 at 2:15 AM, Alfredo Yang ay...@mozilla.com wrote: Summary: Allow web authors to take photo via gUM video track. Bug: Main tracking bug, https://bugzilla.mozilla.org/show_bug.cgi?id=888177 Spec:

Re: Intent to implement and ship: ImageCapture

2014-09-04 Thread Robert O'Callahan
On Fri, Sep 5, 2014 at 11:01 AM, Jonas Sicking jo...@sicking.cc wrote: What's the use case here? Note that in order to build even a half-decent camera app just for taking selfies you need some amount of control over of focus. For more advanced camera apps you also want control over backlight

Re: Intent to implement and ship: ImageCapture

2014-09-04 Thread Jonas Sicking
On Thu, Sep 4, 2014 at 4:22 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Fri, Sep 5, 2014 at 11:01 AM, Jonas Sicking jo...@sicking.cc wrote: What's the use case here? Note that in order to build even a half-decent camera app just for taking selfies you need some amount of control over

Re: Intent to implement and ship: ImageCapture

2014-09-04 Thread Robert O'Callahan
On Fri, Sep 5, 2014 at 11:39 AM, Jonas Sicking jo...@sicking.cc wrote: Ooh, that is great! Though surprisingly the API doesn't seem to have any support for focus or flash control? Was that intentionally left out? I think it's just a case of not wanting the spec to get too far ahead of

Re: Intent to implement and ship: ImageCapture

2014-09-04 Thread Jonas Sicking
On Thu, Sep 4, 2014 at 4:45 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Fri, Sep 5, 2014 at 11:39 AM, Jonas Sicking jo...@sicking.cc wrote: Looking at the API though, why is it based on Events rather than Promises?

Re: Intent to implement and ship: ImageCapture

2014-09-04 Thread Robert O'Callahan
On Fri, Sep 5, 2014 at 11:58 AM, Jonas Sicking jo...@sicking.cc wrote: On Thu, Sep 4, 2014 at 4:45 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Fri, Sep 5, 2014 at 11:39 AM, Jonas Sicking jo...@sicking.cc wrote: Looking at the API though, why is it based on Events rather than

Intent to implement and ship: ImageCapture

2014-09-03 Thread Alfredo Yang
Summary: Allow web authors to take photo via gUM video track. Bug: Main tracking bug, https://bugzilla.mozilla.org/show_bug.cgi?id=888177 Spec: https://dvcs.w3.org/hg/dap/raw-file/default/media-stream-capture/ImageCapture.html Platform coverage: All platforms. Target release: late 2014. Pref: