[Live-devel] Unable to proxy an rtsp stream on alternate port

Ross Finlayson finlayson at live555.com
Thu Nov 14 12:27:54 PST 2013


> I have successfully compiles the LIVE555ProxyServer and it works great with one exception.    If I attempt to proxy a stream that originates on a port other than 554 it does not appear to work.

That's strange; I wonder if it could be a firewall problem?  I.e., maybe you have a firewall - sitting between the proxy server and the back-end server - that is blocking UDP packets?  But that wouldn't explain the problem if the *only* difference between a working back-end server and a non-working back-end server is its port number.  But I suspect that - in reality - the RTSP port number is *not* the only difference between these two streams :-)

Does the "DESCRIBE" command - sent from the proxy server to the back-end server - still work successfully when the back-end server uses a port other than 554?


> I can connect to the rtsp stream directly with vlc (though it takes about 12 seconds to connect)

This suggests that you do, indeed, have a problem with receiving UDP (because VLC works by first requesting regular RTP-over-UDP streaming, and then - if it fails to receive packets within several seconds - requesting RTP-over-TCP streaming instead; that would explain the long delay).

To test this:

NOTE TO EVERYONE:  If you want to test a RTSP stream, you should do so first using our client applications: "testRTSPClient" and/or "openRTSP".  Only after you have gotten those to work should you then try using VLC.  (VLC is not our software.)

Try running "openRTSP -n rtsp://<ip address>:9494/axis-media/media.amp", and see whether it reports that "Data packets have begun arriving".  If it doesn't, then try again, but this time adding the "-t" option to "openRTSP" (to request RTP-over-TCP streaming).

If the "-t" option to "openRTSP" works, then the "LIVE555 Proxy Server" should also work (with this back-end stream) if you give it the "-t" option also.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131114/999f34d7/attachment.html>


More information about the live-devel mailing list