[Live-devel] Getting Status

Ross Finlayson finlayson at live555.com
Sun Jul 8 09:35:40 PDT 2007


>I have a streaming server, and some others that I look into (hosted
>elsewhere).  I would like to grab the info that is generated from
>openRTSP, eg DESCRIBE.  I don't really need the actual stream so something
>like :
>openRTSP -r rtsp://stream.name:9999/path/to/stream.rm
>returns the SDP info that I'm interested in.  As you can see from the
>example command above, some of the streams are of the 'Real' type, and
>don't actually capture, but the info i'd like to capture does come across
>the terminal ....
>
>I'm not concerned with the content, just being able to capture/pipe the
>output of the SDP description, so I can determine the streams
>activity/status using a script (bash/perl) or grep out a specific line.
>
>I suspect this would be a trivial change to the source, I'm just not a
>great c programmer, and need some direction, and pointers ....

There's currently no option in the "openRTSP" application for just 
doing the "DESCRIBE" operation.  However, you could easily modify the 
code to do this, by adding
	shutdown();
immediately after
	  *env << "Opened URL \"" << url
           << "\", returning a SDP description:\n" << sdpDescription << "\n";
(line 505) in "testProgs/playCommon.cpp".
-- 

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


More information about the live-devel mailing list