CameraExtension

Android
interface CameraExtension extends HybridObject

A Camera Extension is a vendor-specific implementation of a private reprocessing pipeline, at ISP level.

For example, a vendor like Google Pixel might implement a 'hdr' extension to make use of the device's private native HDR implementation for photo capture.

See

CameraX Extensions

Note

Camera Extensions are only supported on Android

Note

Camera Extensions only work on SDR video streams - so enableVideoHDR must be disabled in the CameraSession.

Note

If CameraExtension.supportsFrameStreaming is false, you cannot use a CameraOutput that streams frames (CameraOutput.outputType == 'stream')

Properties

supportsFrameStreaming

readonly supportsFrameStreaming: boolean

Whether a Camera Device with this CameraExtension supports Frame Streaming outputs, or not.

If this is false, enabling this CameraExtension and attaching an output that streams Frames (such as CameraFrameOutput) will throw.

See


type

readonly type: CameraExtensionType

Represents the type of this CameraExtension.

See

CameraExtensionType