Function rs2_start_cpp

Function Documentation

void rs2_start_cpp(const rs2_sensor *sensor, rs2_frame_callback *callback, rs2_error **error)

start streaming from specified configured sensor

Parameters:
  • sensor[in] RealSense device

  • callback[in] callback object created from c++ application. ownership over the callback object is moved into the relevant streaming lock

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