depthai-core
depthai-core copied to clipboard
Pause/stop pipeline without closing device
Would it make sense to add a method to pause or stop a loaded pipeline, i.e. the opposite operation of Device::startPipeline? Currently, the device must be closed and re-opened to start/stop a pipeline.
Perhaps an unrelated question to the above; but is it or will it be possible to switch between pipelines in the future without reopening the device?
Might be added although not planned for now.
Most likely no in the near future - a reset of the device gives a clean state that we need to start constructing and starting the pipeline. Because of underlying limitations of the firmware framework that we are using, doing so would require a dive into it and rework, as well as making sure that it plays nicely with everything else.