OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C API referencev12.0

optris_sdk_recording_hold_options

How one recording action holds the camera's recording under recording holds (optris_sdk_imager_enable_recording_holds()). Mirrors optris::sdk::RecordingHoldOptions. Added in 12.0.42.

Prepare it with optris_sdk_recording_hold_options_init().

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_recording_hold_options).

post_roll_ms

uint32_t post_roll_ms

How long a OPTRIS_SDK_RECORDING_WHILE_ACTIVE hold stays after the rule leaves the states it holds in. An activation inside it keeps the same file. 0 lets go at once.

maximum_ms

uint32_t maximum_ms

The longest a OPTRIS_SDK_RECORDING_WHILE_ACTIVE hold lasts from the activation that took it; 0 for no maximum. A rule its maximum let go holds again only at its next activation.

hold_while

optris_sdk_recording_hold_while hold_while

Which states hold the recording.