mediacapture-image
mediacapture-image copied to clipboard
Mediastream Image Capture
Following on https://github.com/w3c/mediacapture-main/issues/639, calling getUserMedia would ideally be gated by a user gesture. This is difficult to enforce it for regular getUserMedia calls due to existing usage of getUserMedia. But...
The spec requests `{name: "camera", panTiltZoom: true}` permissions but does not check whether the permissions were granted or denied. That is clearly not the intention.
## Problem MIME types cannot be specified as part of the [takePhoto()](https://www.w3.org/TR/image-capture/#dom-imagecapture-takephoto) method. The Blob that is returned is the browser default MIME type. ## Description I'm currently using the...
I am trying to grab raw video frames from camera with grabFrame(). That's to say, I prefer no further encoding/resizing that might affect image quality. However, I am not quite...
I'm using an ImageCapture and grabFrame to retrieve frames from a video stream. grabFrame returns a promise that I need to await to get a frame. I don't see a...
This PR adds possibility for the web developers to get formats supported by the UA and set desired format for the captured photo. Fixes #162 *** Preview | Diff
ImageCapture's [constructor](https://w3c.github.io/mediacapture-image/#dom-imagecapture-imagecapture) takes a `videoTrack` arg, making it a sink in the MediaStreamTrack model of [sources and sinks](https://docs.google.com/presentation/d/10myL8D_a3oQghAH1RO522x00KO4qmGi9ZQyXQD70Xto#slide=id.ga38008d958_3_120). But this seems to make little sense outside camera tracks. E.g. ```js...
I'd like to understand which MediaTrack Settings are missing due to hardware limitations and which simply haven't been implemented yet. I am particularly interested in brightness which I see is...
There is no guarantee that a PTZ device is selected even if permission is requested. Given PTZ is a permission on top of camera permission access, it makes sense to...
When I take a picture using the default camera app, I get loads of really useful information in the EXIF data, for example:  However, I can see no way...