Function rs2_get_frame_timestamp_domain

Function Documentation

rs2_timestamp_domain rs2_get_frame_timestamp_domain(const rs2_frame *frameset, rs2_error **error)

retrieve timestamp domain from frame handle. timestamps can only be comparable if they are in common domain (for example, depth timestamp might come from system time while color timestamp might come from the device) this method is used to check if two timestamp values are comparable (generated from the same clock)

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

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

Returns:

the timestamp domain of the frame (camera / microcontroller / system time)