This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

Mediastream Image Capture


Allows users to take a photo via Javascript.


 This API takes a valid MediaStream and returns an encoded image in the form of a Blob. The image is provided by the capture device that provides the MediaStream. Moreover, picture-specific settings can be optionally provided as arguments that can be applied to the image being captured.

See also

Related articles


External resources