New Streammux removing and adding same channel, doesnt work

This is my configuration, I am using USE_NEW_NVSTREAMMUX=yes
• DeepStream Version : deepstream-6.3

• JetPack Version (valid for Jetson only)

• TensorRT Version: 8.6.1.

• NVIDIA GPU Driver Version (valid for GPU only) : Driver Version: 535.86.10 CUDA Version: 12.2

• Issue Type( questions, new requirements, bugs): questions

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) with slight changes.

I am using newstreammux in the runtime_source_add_delete example. I want to add and remove the channels, to simulate the recovery of channels, like rtsp drops/ EOS. Also I am forced to use the new streammux, because it helps to keep the order of frames within batch.
But in the newstreammux, I am facing issues, like frozen output screen, hanged channels, and [ERROR push 353] push failed [-5].
I am attaching Here the small changes I made on the deepstream_rt_src_add_del is to simulate the adding and removing the same src_{id} and sink_{id} which is happening in the original code. Essentially after addition of 3rd channel, system should remove existing channel and replace them with new bins. But I am having difficulties in achieving that. Please advice on how to fix the issue. (5.2 KB)

1 Like