PhotoCapabilities.redEyeReduction

The redEyeReduction read-only property of the PhotoCapabilities interface returns an enum indicating the red-eye reduction capability of the source.

Syntax

const redEyeReduction = photoCapabilities.redEyeReduction

Value

One of "never", "always", or "controllable".

never
Red-eye reduction is not available.
always
Red-eye reduction is available in the source and it is always turned on.
controllable
Red-eye reduction is available in the source and it is configurable via the PhotoSettings object.

Specifications

Specification
MediaStream Image Capture
# dom-photocapabilities-redeyereduction

Browser compatibility

BCD tables only load in the browser