Function rs2_config_enable_record_to_file

Function Documentation

void rs2_config_enable_record_to_file(rs2_config *config, const char *file, rs2_error **error)

Requires that the resolved device would be recorded to file This request cannot be used if enable_device_from_file() is called for the current config, and vise versa

Parameters:
  • config[in] A pointer to an instance of a config

  • file[in] The desired file for the output record

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