Advanced Camera Controls

The Image Capture API allows web applications to control the advanced settings of the device's camera, such as zoom, white balance, ISO or focus points and take photos based on these settings. It relies on the streamVideoTrack object that might be obtained from the stream - see Audio & Video Capture.

API glimpse

capturer = ImageCapture(streamVideoTrack)
Creates an image capturer out of the Media Stream Video Track.
Returns a Promise resolved with the photo taken with the current settings.
Configures the photoSettings for subsequent captures; if visible, the effects of the configuration can be seen in the Track used as input.