Function rs2_pipeline_stop

Function Documentation

void rs2_pipeline_stop(rs2_pipeline *pipe, rs2_error **error)

Stop the pipeline streaming. The pipeline stops delivering samples to the attached computer vision modules and processing blocks, stops the device streaming and releases the device resources used by the pipeline. It is the application’s responsibility to release any frame reference it owns. The method takes effect only after start() was called, otherwise an exception is raised.

Parameters:
  • pipe[in] pipeline

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