Platform/Features/Camera API: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{FeatureStatus
{{FeatureStatus
|Feature name=Ability to take a picture from a web page (<input type="picture">)
|Feature name=Ability to take a picture from a web page (<input type="picture">) - "Phase 1"
|Feature stage=Draft
|Feature stage=Design
|Feature status=In progress
|Feature version=Firefox 15  (Maire to confirm)
|Feature health=OK
|Feature health=OK
|Feature status note=This has progress on Mobile where an external app is being used to take a picture, but has no traction on desktop.
|Feature status note=This is almost completed on Mobile where driver support is available via an external app; support for desktop will be added after the base WebRTC code is landed.
}}
}}
{{FeatureTeam
{{FeatureTeam
|Feature product manager=Chris Blizzard
|Feature product manager=Maire Reavy
|Feature feature manager=Chris Blizzard
|Feature feature manager=Maire Reavy (was Chris Blizzard)
|Feature lead engineer=Fabrice Desré
|Feature lead engineer=Fabrice Desré
|Feature security lead=Ian Melven
|Feature security lead=Ian Melven
|Feature qa lead=John Hammink
|Feature qa lead=John Hammink
|Feature ux lead=Jennifer Morrow
|Feature additional members=Erin Lancaster (project manager for Android)
}}
}}
{{FeaturePageBody
{{FeaturePageBody
Line 17: Line 21:
* Take a profile photo on facebook, or upload from your gallery.
* Take a profile photo on facebook, or upload from your gallery.
* Instagram for the web.
* Instagram for the web.
|Feature dependencies=* Definition of the experience that we want for developers and users.
|Feature dependencies=* Requires an underlying implementation for capturing from camera devices. (done - anant has volunteered!)
* Requires a solid camera camera API definition for web content.
* Requires an underlying implementation for capturing from camera devices. (done - anant has volunteered!)
* Requires someone to put it all together.
|Feature requirements=For mobile we should use an external app for performance reasons.
|Feature requirements=For mobile we should use an external app for performance reasons.


For desktop we should be able to display the image in a canvas for preview and the ability to modify it before uploading it to a server.
For desktop we should be able to take an image snapshot.
|Feature non-goals=This does not include the ability to capture a video and send that video somewhere.  This is only for taking a picture.
|Feature non-goals=* This does not include the ability to capture a video and send that video somewhere.  This is only for taking a picture.
|Feature implementation plan=Android support landed:
*Previewing the image in a canvas with the ability to modify it before uploading it to a server;  previewing and modifying the image won't be possible with this implementation ([https://wiki.mozilla.org/Camera_API_-_Phase_2_%28getUserMedia%29 Phase 2 ] will eventually provide that functionality).
https://bugzilla.mozilla.org/show_bug.cgi?id=659188
|Feature ux design=[http://people.mozilla.com/~jboriss/specs/first_spec.png First iteration design specification]
https://bugzilla.mozilla.org/show_bug.cgi?id=621915
|Feature implementation plan=Mobile implementation is almost landed.


Desktop bug, with an implementation for gstreamer (rotted, last touched on 2010-10-18):
Main bug for desktop: [https://bugzilla.mozilla.org/show_bug.cgi?id=692955 Bug 692955]


https://bugzilla.mozilla.org/show_bug.cgi?id=451674
Currently waiting on three things to happen for desktop:


We will use the GIPS code for this feature on desktop.
* Implementation of the Chrome UI (fabrice)
* Implementation of the in-page UI (mounir or dholbert)
* WebRTC integration and landing (jesup):
** Landing Windows build support (ted)
** Pruning code base for image capture (as needed) (jesup)
** Legal review (under way, no problems expected)
** Security review of code paths needed for image capture (jesup, curtis)
** Picking a 'stable point' in WebRTC upstream to use as the mergepoint (jesup)
** Landing review of the capture code from webrtc (jesup)
** Post-landing testing and debugging (jesup, fabrice, qa, etc)
 
Ignore stuff below this line, here for history only.
 
Android support landed:
* https://bugzilla.mozilla.org/show_bug.cgi?id=659188
* https://bugzilla.mozilla.org/show_bug.cgi?id=621915
|Feature landing criteria=Remaining bug for Android: [https://bugzilla.mozilla.org/show_bug.cgi?id=708175 Bug 708175], which was just marked resolved fixed (April 14).
}}
}}
{{FeatureInfo
{{FeatureInfo
Line 42: Line 59:
|Feature engineering team=DOM
|Feature engineering team=DOM
}}
}}
{{FeatureTeamStatus}}
{{FeatureTeamStatus
|Feature security status=sec-review-unnecessary
|Feature security notes=Per note from imelven review unnecessary
}}

Latest revision as of 18:49, 2 May 2012

Please use "Edit with form" above to edit this page.

Status

Ability to take a picture from a web page (<input type="picture">) - "Phase 1"
Stage Design
Status In progress
Release target Firefox 15 (Maire to confirm)
Health OK
Status note This is almost completed on Mobile where driver support is available via an external app; support for desktop will be added after the base WebRTC code is landed.

Team

Product manager Maire Reavy
Directly Responsible Individual Maire Reavy (was Chris Blizzard)
Lead engineer Fabrice Desré
Security lead Ian Melven
Privacy lead `
Localization lead `
Accessibility lead `
QA lead John Hammink
UX lead Jennifer Morrow
Product marketing lead `
Operations lead `
Additional members Erin Lancaster (project manager for Android)

Open issues/risks

`

Stage 1: Definition

1. Feature overview

This is a request for the functionality to take a picture from a computer's attached camera and use it in a web application.

2. Users & use cases

  • Take a picture on flickr, or upload from your gallery.
  • Take a profile photo on facebook, or upload from your gallery.
  • Instagram for the web.

3. Dependencies

  • Requires an underlying implementation for capturing from camera devices. (done - anant has volunteered!)

4. Requirements

For mobile we should use an external app for performance reasons.

For desktop we should be able to take an image snapshot.

Non-goals

  • This does not include the ability to capture a video and send that video somewhere. This is only for taking a picture.
  • Previewing the image in a canvas with the ability to modify it before uploading it to a server; previewing and modifying the image won't be possible with this implementation (Phase 2 will eventually provide that functionality).

Stage 2: Design

5. Functional specification

`

6. User experience design

First iteration design specification

Stage 3: Planning

7. Implementation plan

Mobile implementation is almost landed.

Main bug for desktop: Bug 692955

Currently waiting on three things to happen for desktop:

  • Implementation of the Chrome UI (fabrice)
  • Implementation of the in-page UI (mounir or dholbert)
  • WebRTC integration and landing (jesup):
    • Landing Windows build support (ted)
    • Pruning code base for image capture (as needed) (jesup)
    • Legal review (under way, no problems expected)
    • Security review of code paths needed for image capture (jesup, curtis)
    • Picking a 'stable point' in WebRTC upstream to use as the mergepoint (jesup)
    • Landing review of the capture code from webrtc (jesup)
    • Post-landing testing and debugging (jesup, fabrice, qa, etc)

Ignore stuff below this line, here for history only.

Android support landed:

8. Reviews

Security review

`

Privacy review

`

Localization review

`

Accessibility

`

Quality Assurance review

`

Operations review

`

Stage 4: Development

9. Implementation

`

Stage 5: Release

10. Landing criteria

Remaining bug for Android: Bug 708175, which was just marked resolved fixed (April 14).


Feature details

Priority P1
Rank 999
Theme / Goal Connect
Roadmap Platform
Secondary roadmap `
Feature list Platform
Project `
Engineering team DOM

Team status notes

  status notes
Products ` `
Engineering ` `
Security sec-review-unnecessary Per note from imelven review unnecessary
Privacy ` `
Localization ` `
Accessibility ` `
Quality assurance ` `
User experience ` `
Product marketing ` `
Operations ` `