The ImageCapture
interface of the MediaStream Image Capture API provides an interface for capturing images from a photographic device referenced through a valid MediaStreamTrack
.
Documentation ImageCapture by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Constructor
Variables
Methods
takePhoto():Void
Takes a single exposure using the video capture device sourcing a MediaStreamTrack
and returns a Promise
that resolves with a Blob
containing the data.
Throws:
null | DOMError |
---|