Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ k4a_record_add_attachment()

k4a_result_t k4a_record_add_attachment ( const k4a_record_t  recording_handle,
const char *  attachment_name,
const uint8_t *  buffer,
size_t  buffer_size 
)
related

Adds an attachment to the recording.

Parameters
recording_handleThe handle of a new recording, obtained by k4a_record_create().
attachment_nameThe name of the attachment to be stored in the recording file. This name should be a valid filename with an extension.
bufferThe attachment data buffer.
buffer_sizeThe size of the attachment data buffer.
Returns
K4A_RESULT_SUCCEEDED is returned on success
Remarks
All attachments need to be added before the recording header is written.