[Live-devel] Proxy Server rtsperver timeout with 400 error

Craig Matsuura cmatsuura at vivint.com
Sun Nov 3 01:10:13 PDT 2013


I have a question in regards to the live555proxyServer.  I have been 
playing with the server and have implemented one for our use for our 
project.  It works great when connecting to all proxied rtsp streams, 
however if I wait about 10-15 seconds and than connect a client I always 
get a 400 Bad Request error returned to the server on a SETUP.

It seems to be specific to the rtspserver I proxy.  I have two sets of 
cameras I'm proxing, one set does not exhibit the problem where as the 
other does.  I have played with changing the liveness value from the 
default of 60 secs to around 14 secs.  But it really seems as if it does 
not matter if I lower the value.  I'm guessing the server is not 
honoring the the fact the liveness is sending an OPTION to command to 
keep it alive.

So in the case of getting an 400 error, what can one do to get the proxy 
server to reconnect to the server that is failing.  I know that the 
camera rtsp server I'm proxing works every time from a client if I 
directly goto the rtsp://address of the camera, however via the proxy 
server it will fail if I wait too long.

Thanks,
Craig


More information about the live-devel mailing list