[][src]Function realsense_sys::rs2_pipeline_start

pub unsafe extern "C" fn rs2_pipeline_start(
    pipe: *mut rs2_pipeline,
    error: *mut *mut rs2_error
) -> *mut rs2_pipeline_profile

Start the pipeline streaming with its default configuration. The pipeline streaming loop captures samples from the device, and delivers them to the attached computer vision modules and processing blocks, according to each module requirements and threading model. During the loop execution, the application can access the camera streams by calling \c wait_for_frames() or \c poll_for_frames(). The streaming loop runs until the pipeline is stopped. Starting the pipeline is possible only when it is not started. If the pipeline was started, an exception is raised.

\param[in] pipe a pointer to an instance of the pipeline \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return The actual pipeline device and streams profile, which was successfully configured to the streaming device.