Function rs2_get_frame_timestamp

Function Documentation

rs2_time_t rs2_get_frame_timestamp(const rs2_frame *frame, rs2_error **error)

retrieve timestamp from frame handle in milliseconds

Parameters:
  • frame[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 of the frame in milliseconds