[Live-devel] How to realize " SET_PARAMETER" command of RTSP client by using Livemedia?

Ross Finlayson finlayson at live555.com
Tue Feb 27 04:12:15 PST 2007


>According to a document, the Darwin sever will send a sign in 
>SET_PARAMETER command when the end of a stream is arriving .
>Then the client should response it and teardown.

Are you sure about this?  Please send us the URL of the document.

(Servers usually use the RTCP "BYE" command - which we support - to 
inform the client of the end of the stream.  I have not heard of 
"SET_PARAMETER" being used for this.)

But anyway, if you *really* want to handle the "SET_PARAMETER" (or 
any other) RTSP command coming from the server, then you could modify 
the function "RTSPClient::incomingRequestHandler1()".  (However, once 
you've modified the code, you can, in general, expect no support.)


>#ifdef SUPPORT_REAL_RTSP
>#include "../RealRTSP/include/RealRTSP.hh"
>#endif
>
>The code above is from Livemedia in MediaSession.cpp. However it is 
>strange that I cannot find RealRTSP.hh file in Live folders.
>How and where to get this file ?

You can't; it is not included in the "LIVE555 Streaming Media" code 
(and is irrelevant to your question anyway).
-- 

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


More information about the live-devel mailing list