[Live-devel] Getting Status

pjf at cape.com pjf at cape.com
Sun Jul 8 17:41:49 PDT 2007


Thanks, that is part of the answer, now for the trickier part.

it appears the output is direct to the console, in that I can't pipe it
anywhere. Is this correct ?  is there a way to get the SDP information
optimally to STDOUT? or at least a file ???

Thanks
-Pete


>>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/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>




More information about the live-devel mailing list