The EOS is sent by the RTSP server, if you don’t want EOS, you need to check the cameras.
Please check the 10 cameras. Are they all RFC 2326 compliant?
Please make sure the “live-source” property of nvstreammux has been set to 1 for your RTSP input sources. And please refer to DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums for how to set nvstreammux properties for multiple RTSP streaming inputs.