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 Status Comment
MediaStream Image Capture
The definition of 'redEyeReduction' in that specification.
Working Draft Initial definition.

Browser Compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
redEyeReduction
Experimental
Chrome Full support 59Edge Full support ≤79Firefox ? IE ? Opera Full support 46Safari ? WebView Android Full support 59Chrome Android Full support 59Firefox Android ? Opera Android Full support 43Safari iOS ? Samsung Internet Android Full support 7.0

Legend

Full support
Full support
Compatibility unknown
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.