-
Semper Vaporo
-
- Posts: 331
- Joined: Sat Oct 09, 2010 11:51 am
by Semper Vaporo » Mon Nov 02, 2015 9:06 am
I have two different brands of IP cameras (neither is a Foscam) and both exhibit a loss of connection at times. A TrendNET brand cam does exhibit a regular loss of data at 355 seconds (5 minutes 55 seconds) as well as what seems to be at totally random times that occur sometimes a lot and sometimes not. The dLink camera also exhibits a random loss of connection, but I have not determined any regularity to it.
To SEE this loss of data, run Windows "Task Manager" and select the "Networking" tab. You will see graphs showing data transmission for each of your network connections to the computer (wired, WiFi, etc.). Scroll the window until you can see the one that is in use (you might see 3 or 4 graphs but only one or two will be actually in use) This graph will have a sort of squiggly line that will vary somewhat based on the complexity of the scene(s). But you will notice some dips in the line associated with a loss of data transmission. Each application on the computer that is accessing the camera (SightHound is one, and you could also have a browser showing an image from the camera) will be a part of the total amplitude of the graph. Shut one program off and the amplitude will drop by 1/2. Connect another program and it will go up by a certain amount (the actual amplitude will depend on the resolution and data compression requested by all the programs accessing the camera).
When I have only the TrendNET camera on-line the squiggly line is very uniform except for the 355 second dropouts and sometimes a much more often series of dropouts. And if 2 programs are accessing the camera at the same time, the 355 second dropout will occur to both at the same time... the more random dropouts will not occur to both at the same time
With only the dLink camera on-line the graph line squiggles a whole lot more (based on the brightness of the scene as well as the complexity). It also exhibits dropouts, but they are usually much shorter in duration.
It appears that SightHound is more sensitive to these dropouts than other programs that access the cameras. If I am monitoring the camera (especially the TrendNET camera) with a browser at the same time, the browser's display will show a short freeze in the image, but SightHound MIGHT decide that the camera has died and go through the "Disconnected"/"Connecting" sequence, or it might not. SightHound does not seem to have as much of a problem with the dLink brand camera, even though the dLink seems to have many more drop-outs at times.
"MY" assumption (as a user of SightHound) is that there is some asynchronous nature to the software sending the request for the next scene and the camera being in a state to accept the request and if the timing is such that the camera is not ready (for whatever reason) then no frame is sent and SightHound starts some sort of timer and if/when that timer runs out, it declares that the camera is off-line and has to go into the reconnect sequence, whereas other programs either don't have a timer and just keep requesting a new frame while showing the last one over and over again (image freezes), or have a longer time-out before it declares a problem.
It is possible that the Time-Out is within SightHound's control and possible that it is a function of something in the system such that SightHound would need to handle the time-out differently than presently done. I can understand that SightHound would be more sensitive to such drop-outs whereas a browser would not care... the Browser assumes you are the only reason it is accessing the image and you will determine what to do if the scene stops updating, but SightHound is running without a human looking at the scene and so much decide what to do and maybe it is a bit too sensitive to these random short term drop-outs.
I wish I had some "fix" for you, but I think all we users can do is request that the SightHound team look into this a bit more. I wonder if there might be some setting that we users could access to change the time-out parameter on a camera by camera basis so we could extend the time and possibly reduce the number of "Disconnects" without screwing up the motion detection operations.
Semper Vaporo,