Function rs2_create_recording_context

Function Documentation

rs2_context *rs2_create_recording_context(int api_version, const char *filename, const char *section, rs2_recording_mode mode, rs2_error **error)

Create librealsense context that will try to record all operations over librealsense into a file

Deprecated:

Parameters:
  • api_version[in] realsense API version as provided by RS2_API_VERSION macro

  • filename[in] string representing the name of the file to record

  • section[in] string representing the name of the section within existing recording

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

Returns:

context object, should be released by rs2_delete_context