asavartsov / ispyconnect

Automatically exported from code.google.com/p/ispyconnect
1 stars 0 forks source link

Camera's disconnect and do not reconnect #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. running 2 JPEG feeds simultaneously 
2. Leave running 24 hours 7 days
3. motion capture logging with data management on

What is the expected output? What do you see instead?
Camera should continue to function without any issues. Camera however 
periodically(48hour?) looses feed and does not reconnect. Occurs on both 
cameras at the same time.

IF camera looses feed then it should poll and auto reconnect.

TO reconnect, full restart of iSpy is required.

What version of the product are you using? On what operating system?
iSpy v4.6.6.0 on Windows 7 professional 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by rhematth...@gmail.com on 5 Nov 2012 at 2:21

GoogleCodeExporter commented 9 years ago
How are you connecting to the cameras? Are you using VLC? If so VLC can't 
detect a lost connection and you'll need to specify a reconnect interval.

If not then ispy should be reconnecting - the only other time this can fail is 
if your camera has a dynamic IP address and it gets changed by your router - 
set your ip camera up with a static IP address.

Original comment by sean.p.t...@gmail.com on 5 Nov 2012 at 11:13

GoogleCodeExporter commented 9 years ago
Thanks for your reply Sean,

I'm connecting using built in support for JPEG feeds. VLC is not installed on 
our machine at this stage.

From the errors I can see on the log file could this be a similar issue with 
respect to a memory leak issue on windows 64 bit as reported in the bug forum?

I've looked into the log files and can see two errors/exceptions and a 
reoccurring fail(?):
--------------------------------------------------------------------------------
Camera 1: VideoSourceError: Exception of type 'System.OutOfMemoryException' was 
thrown.
VideoSourceError: Exception of type 'System.OutOfMemoryException' was thrown.

System.Collections.ListDictionaryInternal

------------------------------------AND-----------------------------------------
Camera 0: Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
iSpy
at iSpyApplication.Video.JPEGStream2.Stop() at 
iSpyApplication.Controls.Camera.Stop() at 
iSpyApplication.Controls.CameraWindow.Tick()

System.Collections.ListDictionaryInternal

------------------------------------AND-----------------------------------------
Thread was being aborted.
System
at Microsoft.Win32.SafeNativeMethods.FormatMessage(Int32 dwFlags, HandleRef 
lpSource, Int32 dwMessageId, Int32 dwLanguageId, StringBuilder lpBuffer, Int32 
nSize, IntPtr arguments) at 
System.ComponentModel.Win32Exception.GetErrorMessage(Int32 error) at 
System.Net.Sockets.Socket.Accept() at 
System.Net.Sockets.TcpListener.AcceptSocket() at 
iSpyApplication.LocalServer.StartListen()

System.Collections.ListDictionaryInternal

Original comment by rhematth...@gmail.com on 5 Nov 2012 at 11:33

Attachments:

GoogleCodeExporter commented 9 years ago
Additionally, the camera's are setup with static IP's by default.

Original comment by rhematth...@gmail.com on 20 Nov 2012 at 11:08