DepthFrameOutputOptions

interface DepthFrameOutputOptions extends Pick

Configuration options for a CameraDepthFrameOutput.

See

Properties

allowDeferredStart

iOS
allowDeferredStart: boolean

Allow this output to start later in the capture pipeline startup process.

Enabling this lets the camera prioritize outputs needed for preview first, then start the CameraFrameOutput shortly afterwards.

This can improve startup behavior when preview responsiveness is more important than receiving frame-processor frames immediately.

Inherited from

FrameOutputOptions.allowDeferredStart


dropFramesWhileBusy

dropFramesWhileBusy: boolean

Whether to drop new Frames when they arrive while the Frame Processor is still executing.

  • If set to true, the CameraFrameOutput will automatically drop any Frames that arrive while your Frame Processor is still executing to avoid exhausting resources, at the risk of loosing information since Frames may be dropped.
  • If set to false, the CameraFrameOutput will queue up any Frames that arrive while your Frame Processor is still executing and immediatelly call it once it is free again, at the risk of exhausting resources and growing RAM.

Default

true

Inherited from

FrameOutputOptions.dropFramesWhileBusy


enableFiltering

enableFiltering: boolean

Enables or disables depth data filtering to smoothen out uneven spots in the depth map.


enablePhysicalBufferRotation

enablePhysicalBufferRotation: boolean

Enable (or disable) physical buffer rotation.

Setting enablePhysicalBufferRotation to true introduces processing overhead.

Default

false

Inherited from

FrameOutputOptions.enablePhysicalBufferRotation