IPCAM2SYPHON icon indicating copy to clipboard operation
IPCAM2SYPHON copied to clipboard

limited number of reconnections

Open grrrr opened this issue 10 years ago • 7 comments

Hi, thanks for the application! The main problem that i am having is the fixed number of reconnections (set to 20). My tool is supposed to run virtually forever, but the reconnection count inevitably goes down to zero after some time if the connection is not 100% stable. There are two possible solutions that would be very much appreciated:

  • A settable number of reconnections, e.g. in the XML config file.
  • The reconnection count is reset if there are frames received. I have tried to modify and compile the code myself, but the ofxIpVideoGrabber part fails to compile. I will report this in a separate issue.

grrrr avatar Aug 11 '15 18:08 grrrr

Hey, glad you found it useful! Yeah, I could see how this could be a problem. I'll update this for the latest openFrameworks 0.9.0 master sometime soon.

bakercp avatar Aug 11 '15 18:08 bakercp

thanks for your swift reply! i am in a hurry for an artistic project -- i will have to find a workaround very soon....

grrrr avatar Aug 11 '15 18:08 grrrr

Cool, it's been on my todo list, so how about this -- I'll fix it up ... if you send me a link to your project? Seeing work made with addons and apps helps keep me energized :)


http://christopherbaker.net

On Tue, Aug 11, 2015 at 1:18 PM, Thomas Grill [email protected] wrote:

thanks for your swift reply! i am in a hurry for an artistic project -- i will have to find a workaround very soon....

— Reply to this email directly or view it on GitHub https://github.com/bakercp/IPCAM2SYPHON/issues/3#issuecomment-130001802.

bakercp avatar Aug 11 '15 18:08 bakercp

any updates on this? thank you!!

giorgiomoroder avatar Mar 29 '16 17:03 giorgiomoroder

Hey @grrrr and @giorgiomoroder I did a big overhaul on this tonight. Now with unlimited (or limited) reconnects, a more stable threading system, etc. Please check out the develop branch and let me know if it looks good. If you can test it out, I'll make a build and release it.

You'll need the latest ofxSyphon, ofxIpVideoGrabber, and openFrameworks 0.9.3+.

bakercp avatar Mar 30 '16 05:03 bakercp

I don't know a lot about compiling these things, and I'm getting errors. I have ofxSyphon and ofxlpVideoGrabber in my OF addons folder, but when I try to compile the developer branch of IPCAM2SYPHON i get unknown type name "ofEventListener" on ofEventListener _exitListener;

and 2 other errors - I'm going to see what I can figure out but this is my first time compiling anything other than examples

giorgiomoroder avatar Apr 06 '16 21:04 giorgiomoroder

@grrrr @bakercp @giorgiomoroder - Hi there. I'm using this wonderful piece of software in live performance. The limited reconnection issue is only nagging issue for us: across 4 hrs of performance our favorite camera seems to time out. Any progress with compiling bakercp's version?

I'm a newbie to programming, but I could compile this myself if I knew what IDE or language you'd recommend opening the project in.

efforts much appreciated. thanks to all who put in on this.

thomkav avatar May 27 '17 18:05 thomkav