Function rs2_get_frame_metadata

Function Documentation

rs2_metadata_type rs2_get_frame_metadata(const rs2_frame *frame, rs2_frame_metadata_value frame_metadata, rs2_error **error)

retrieve metadata from frame handle

Parameters:
  • frame[in] handle returned from a callback

  • frame_metadata[in] the rs2_frame_metadata whose latest frame we are interested in

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

the metadata value