Deep stream cpp increasing latency when using 2 cameras

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

For live source like RTSP, camera,…, etc, you need to set “live-source” property of nvstreammux to 1. And there are several other errors in your code for live source and multiple sources. Please refer to deepstream-test3 for how to enable multiple sources and live source in one pipeline.

Please read the documents before you start to customize your own application.
DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums