Re: [Live-devel] Unitialized value

2012-07-24 Thread Jesús Leganés
Welcome :-) In fact, i have done it on my copy of the code and some SEGFAULTs where fixed just doing this... :-D It would be good (if you have time) to pass Valgrind on the library to catch more things like this, since i'm getting some other messages suspect to have the same problem... :-/ 2012/

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread Sid Price
Thank you Ross, I will download and take it for a spin, Sid. From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Tuesday, July 24, 2012 2:20 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Porting of

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread Ross Finlayson
OK, it turns out that the problem is not as bad as I had first thought. The code (in the LIVE555 library) that calls "fileno()" and "read()" turns out to not be needed for Windows at all, because it's used only to implement asynchronous file reading (which is not supported in Windows). I have

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread Sid Price
Thanks Ross, I think we are getting close to the issue here because in stdlib.h I see the following code: #if !__STDC__ /* Non-ANSI names for compatibility */ #define fcloseall _fcloseall #define fileno_fileno #define flushall _flushall #endif /* !__STDC__ */ Notice this maps

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread Ross Finlayson
> The problem with _fileno is that it returns "void *" and > "makeSocketNonBlocking" and "turnOffBackgroundReadHandling"takes a "socket" > parameter that is defined as "int". Note the difference between "fileno()" - a standard C library function that should always returns an "int" (even, I hope,

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread Sid Price
I can confirm the same issues when compiling for Windows Compact 7. The problem with _fileno is that it returns "void *" and "makeSocketNonBlocking" and "turnOffBackgroundReadHandling"takes a "socket" parameter that is defined as "int". The MS compiler for Windows Compact 7 considers this atte

Re: [Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread Ross Finlayson
> In particular I've used the libce > library to resolve some compilation > error on the flowing functions: > > > _fileno: has different signature under WinCE > abort: is not available > under WinCE > read: is not available under WinCE That's strange. Several other people have built the code

[Live-devel] Porting of live555 Streaming on Windows CE

2012-07-24 Thread d.santan...@tiscali.it
Hi, I'm working in porting the live555 on windows CE system. I was able to compile and test the library on WinCE but to do that I've made some small modification in the code. In particular I've used the libce library to resolve some compilation error on the flowing functions: _fileno: has dif

Re: [Live-devel] Unitialized value

2012-07-24 Thread Ross Finlayson
Thanks. This will be fixed in the next release of the software. Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel

[Live-devel] Unitialized value

2012-07-24 Thread Jesús Leganés
I'm having some problems and debugging with Valgrin, it's raising a "Conditional jump or move depends on uninitialised value(s)" error. Looking at the code i have got that ProxyServerMediaSession::fClientMediaSession is not being initialized, waiting until the ProxyServerMediaSession::afterDescribe

Re: [Live-devel] How to Handle multiple streamers using "test on demand rtsp server"

2012-07-24 Thread Shivkumar Bhasmare
Hello Sir First of all sorry for miss writing the question. My question is:-as i stated i make the rtsp server globally and put into thread the MPEG-2 Transport stream code. For the first streamer it works well and for the second streamer it breaks at "do event loop" .i.e. suppose the server is rec