New Streammux removing and adding same channel, doesnt work

Please make sure you have set the new nvstreammux parameters correctly. DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums