Re: [Live-devel] Ignoring SIGPIPE

2012-04-20 Thread Philippe Clavel
Hi, First I am not sure the right way to reply only to my message... Let me know how to do it right for next time ;) Regarding the proposed change it work for me. Just one comment you may want to do something like that only > #ifdef USE_SIGNALS > // Ignore the SIGPIPE signal, so that clients o

[Live-devel] Ignoring SIGPIPE

2012-04-19 Thread Philippe Clavel
Hi,I have an issue on Mac OSX where the RTSPClient was throwing SIG_PIPE whenever the TCP connection from the server was terminated (server timeout or crash).Trying to USE_SIGNALS as below did not work and we were still crashing when the connection was dropping:#ifdef USE_SIGNALS  // Ignore the SIG