Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) - GPU • DeepStream Version - 6.1 • JetPack Version (valid for Jetson only) • TensorRT Version - 8.4.1 • NVIDIA GPU Driver Version (valid for GPU only) - 520.61.05
I use uridecodebin with multiple input rtsp sources. I have a logic of runtime addition/deletion of sources if a particular source becomes unavailable. I connect to videotestsrc in case a particular source becomes unavailable and swap it back to the pipeline once it becomes available. I have no issues with this application if I use old nvstreammux.
But if I use new streammux by setting export USE_NEW_NVSTREAMMUX=yes, the FPS keeps dropping whenever I add/delete source at runtime. Note: I haven’t encountered this FPS drop when I use the new nvstreammux on the runtime addition/deletion reference application. Problem is just with my application. Please let me know if I’m missing something.
Attaching the functions for runtime addition and deletion of source for reference. connect_dummy_src() function takes care of deleting the rtsp source and swapping it with videotestsrc. reconnect_rtsp_src() function takes care of swapping videotestsrc with uridecodebin once the connection is back. These two functions run at separate threads. snippet.cpp (12.2 KB)