BUG: Multible Netcams doesnt work longer

When i run Motion with 2 NetCams, one Cam ist stopping after a short time. My NetCam from Thread1 is a D-Link dcs-900, the Cam for Thread2 is an Axis 205. Both Netcams are connected cia an Ethernetswitch to the DMZ from the Server. The DMZ is a 100 MBit Ethernetinterface only for the NetCams. After starting Motion, one the Cam from Thread1 ist working fine, on next Startup Motion perhaps the Cam from Thread3 working fine.

Test case

Environment

Follow up

First curl are not needed from motion-3.1.18 because the new netcam driver make the use of it obsolete.
What's the framerate did you setup for each thread ?

Thread Condiction timeout message is because the thread that gets image from net spend more that 5 seconds to get a non error image. I'll gonna add the thread information to this message to allow users to know which thread is making errors.

Most times the non working Thread only captures frames, but stopping bevor 1 snapshot. I have sniffed on the Ethernet mith ethereal, there are no request to the sencond Netcam, but there are no Errormessages from motion output or the /var/log/messages File.

Now i have changed the axis from jpg to mjpg Stream. At this time both Cam´s working since a hour und it looks good. Not every Snapshot are saved (configured to 61 Seconds) but 1 in 5 Minutes are saved. There is always the Thread Condiction timeout from the motion output.