Function rs2_pipeline_set_device

Function Documentation

void rs2_pipeline_set_device(rs2_pipeline *pipe, rs2_device *device, rs2_error **error)

Set the device to be used in the pipline. The function is used to assign the device, useful when the user wish to set controls that cannot be set while streaming.

Parameters:
  • pipe[in] the pipeline.

  • device[in] the device to be used in the pipline.