Open Bug 1064738 Opened 10 years ago Updated 2 years ago

Implement setOptions webidl

Categories

(Core :: Audio/Video: Recording, defect, P4)

x86
macOS
defect

Tracking

()

People

(Reporter: ayang, Unassigned)

References

(Blocks 1 open bug)

Details

Hi Alfredo! I've been playing with the ImageCapture API in Firefox OS and looks great! In order to create an App with all features needed as a Camera, setOptions must be the next step :). Do you know if there is any plan to move forward with this implementation? Thanks!
Flags: needinfo?(ayang)
(In reply to Borja Salguero [:borjasalguero] from comment #1)
> Hi Alfredo! I've been playing with the ImageCapture API in Firefox OS and
> looks great! In order to create an App with all features needed as a Camera,
> setOptions must be the next step :). Do you know if there is any plan to
> move forward with this implementation? Thanks!

Actually, current implementation is already out of date, the latest spec uses promise instead of callback function. It needs to be fixed first and I plan to do it later.

setOptions is a controversial design [2], some questions aren't resolved yet. I'll pick it up once the conclusion is made.

[1] http://www.w3.org/TR/image-capture/
[2] http://lists.w3.org/Archives/Public/public-media-capture/2014Oct/0210.html
Flags: needinfo?(ayang)
Component: Audio/Video → Audio/Video: Recording
Alfredo - what's the status of this feature - are the controversies resolved enough to look at implementation?
Flags: needinfo?(ayang)
Priority: -- → P3
I don't think so. There is no discussion about it for a while.
Munro could have update about this.
Assignee: ayang → nobody
Flags: needinfo?(ayang) → needinfo?(mchiang)
After checking the mail thread, I believe most of Robert's advice has been adopt in the latest draft.
Unfortunately some advice are not, like
1) moving PhotoSettings attributes into ImageCapture.
2) use ImageBitmap to replace Imagedata as grabFrame's output.

However, I think it's valuable to support this API.
After porting promise based TakePhoto, I will work on setOption.
grabframe will be in the 2nd phase porting list.
Flags: needinfo?(mchiang)
Assignee: nobody → mchiang
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Assignee: bonchiang → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.