Function rs2_close

Function Documentation

void rs2_close(const rs2_sensor *sensor, rs2_error **error)

stop any streaming from specified subdevice

Parameters:
  • sensor[in] RealSense device

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