Starting a new stream is performed using the following function call:

sdk::startStream()

Optionally, the stream can be started with modified values using the following function call syntax:

sdk::startStreamConfiguration.getDetector().getGroups("motorboat").setScoreThreshold(0.8);

Additionally, the stream configuration can be updated while the stream is running (only for editable settings, as described in Configurable Parameters) using the following function call syntax:

sdk::UpdateStreamConfiguration updateStreamConfiguration;
updateStreamConfiguration.getRenderer().setDrawTracks(false);
updateStreamConfiguration.getRenderer().setDrawDetections(true);
m_pipelineInterface->updateStreamConfiguration(streamId,updateStreamConfiguration);

In order to stop the stream, perform the following function call:

sdk::stopStream()