Hello All,
I have prepared a new Editor's Draft of the MediaStream Image Capture specification based on feedback I have received. It may be found at http://gmandyam.github.com/image-capture, and is enclosed in this email.
Some changes are editorial. Moreover, based on feedback received some names associated with attributes, methods, event handlers have been modified although the associated functionality has not.
1. Feedback from adambe: http://lists.w3.org/Archives/Public/public-media-capture/2013Jun/0150.html
Changed PhotoSettingsOptions to PhotoOptions.
2. Feedback from roBman: http://lists.w3.org/Archives/Public/public-media-capture/2013Jul/0101.html
a. Minor grammatical issues that were cited have all been corrected. Thanks for the careful read!
b. Linguisitic issues/naming symmetry. I've gone with your second proposal, mainly because takePhoto() has been used so extensively already in the group.
c. Replaced pictureDevice with captureDevice in the code example.
d. Replaced all references to any ImageData.length to ImageData.width. Don't know how I missed that one. Thanks for spotting it.
e. Added a setInterval example.
f. EventInit dictionaries. I empathize with the comment, but this is how things seem to be done in the DOM3 eventing model (see http://www.w3.org/TR/DOM-Level-3-Events/#new-event-interface-initializers) and DOM4 (http://www.w3.org/TR/domcore/#interface-customevent). If there is a misunderstanding on my part, please let me know.
3. Feedback from Frederick Hirsch: http://lists.w3.org/Archives/Public/public-media-capture/2013Jun/0140.html
I think this is addressed in the new example using setInterval.
-Giri