[Live-devel] Proxy Server Debugging

Craig Matsuura cmatsuura at vivint.com
Mon Nov 18 07:25:03 PST 2013


After running openRTSP the last thing displayed is Data packets have begun arriving [#####], I did not here any beep.  After browsing the source I found that the playCommon.cpp has this message and a \007, which apparently did not cause the beep (no big deal).  Now I see I have started streaming from my back end RTSP.   I ran a camera in question all night and no other message followed the Data packets have begun arriving.  I assume this means all is good.

I will leave the openRTSP running longer to see if I get any messages or if it just disconnects.  I am making the assumption that my camera is streaming, because openRTSP does not exit or report streaming has stopped.

I do have one question, if the proxy server or openRTSP loses a session from a camera it will reconnect, correct?

Thanks,
Craig

On 11/18/2013 12:48 AM, Ross Finlayson wrote:
So I have verified the source device is streaming data.  I have connected to it's RTSP stream directly, using gstreamer and vlc.  I will connect the openRTSP to the source back-end when it fails and see if it works.

No!  You should test your back-end stream using "openRTSP" *FIRST*, before using a media player.  The reason for this is that media players usually do not give you a clear indication of what is going on.  (For example, "VLC" automatically - behind the scenes - requests RTP/RTCP-over-TCP streaming if RTP-over-UDP streaming appears to fail.  So you won't know whether or not you need to give the proxy server the "-t" option.)

NOTE TO EVERYONE:  When you're testing a RTSP stream to check whether it's available, "openRTSP" should be the *FIRST* thing that you try.  Only then should you try using a media player.

And it makes no sense to talk about "connecting openRTSP (or any other client) to a back-end stream when it fails", because that probably won't tell you anything.  You'd be requesting a whole new session.


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/20131118/7677a27d/attachment.html>


More information about the live-devel mailing list