Re: [Live-devel] send error callback

2012-07-17 Thread Ross Finlayson
> What I want is RTSPServer to behave like the inactivity timer went off when > it detects a write error on the TCP socket. Unfortunately I don't know of a way to do this. > It is not an option to make the client behave nicely. Well then that's too bad, because I have zero interest in supporti

[Live-devel] send error callback

2012-07-17 Thread Dirk Dugger
Ross Says: > I'm looking at the case where I'm streaming rtp/tcp and the socket closes > without a TEARDOWN. In general it's a bad idea to complicate your application by trying to optimize the handling of an unusual situation. Especially because our server implementation already automatically

Re: [Live-devel] send error callback

2012-07-17 Thread Ross Finlayson
> I'm looking at the case where I'm streaming rtp/tcp and the socket closes > without a TEARDOWN. In general it's a bad idea to complicate your application by trying to optimize the handling of an unusual situation. Especially because our server implementation already automatically handles thi

[Live-devel] send error callback

2012-07-17 Thread Dirk Dugger
Hi All, I saw that there was a patch a while back to register a send error callback - fOnSendErrorFunc/Data to deal with socket write errors (like from socket FIN/RST). I am currently streaming live using testOnDemandRTSPServer as a model. Where do I set that callback and how do I cleanly shu