Re: [mediacapture-image] Faster MediaStream ImageCapture.takePhoto

@developer239:
Have you tried using [`grabFrame()`](https://w3c.github.io/mediacapture-image/#dom-imagecapture-grabframe) instead of `takePhoto()` ? It is faster, in part because it doesn't compress the data for you into a `Blob`, but instead gives you an `ImageBitmap`. More in about [Chrome in particular](https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/imagecapture/README.md?type=cs&q=grabframe%5C(%5C)&sq=package:chromium&l=60).

Re. creating a `MediaStream` `readableStreamReader`, I put up a proposal in the [WICG](https://discourse.wicg.io/t/rfc-proposal-for-integration-streams-mediastreamtrack-api/2256) and even had a playground [Chromium CL](https://crrev.com/c/571382) :-)

-- 
GitHub Notification of comment by yellowdoge
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/197#issuecomment-360547988 using your GitHub account

Received on Thursday, 25 January 2018 17:59:13 UTC