Re: [w3ctag/spec-reviews] MediaStream Image Capture (#133)

The ergonomics of the API seem aligned with good principles. E.g.:
* Uses Promises for potentially long-running operations.

Exposes ImageCapture as an "add-on" object to a MediaStreamTrack (a new constructable interface:
* Why make this a separate constructable object, with the reflective 'videoStreamTrack' member? Could this be streamlined into the MediaStreamTrack as a partial interface to it instead? 
* Seems like 'getPhotoCapabilities' and the MediaStreamTrack's 'getCapabilities' are nearly the same. Is there a reason to have the separate method and property list?

Is 'grabFrame' really necessary? Isn't this already possible using a video/canvas element?

Consider allowing a DOMPoint in places where a Point2D dictionary could be used (DOMPoint from http://www.w3.org/TR/geometry-1/#DOMPoint). The DOMPoint handles points in 3d space, but the 'z' and 'w' coordinates are not required, and this may be useful for platform consistency. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/spec-reviews/issues/133#issuecomment-270259285

Received on Tuesday, 3 January 2017 23:54:27 UTC