[Live-devel] [PATCH] Add GET_PARAMETER support to RTSPClient.cpp

Ross Finlayson finlayson at live555.com
Sun Oct 23 01:10:07 PDT 2005


At 11:07 AM 10/22/2005, you wrote:
>Added a function to RTSPClient.cpp called GET_PARAMETER. This allows me
>to send a query to the server and get a response.

Glen,

Thanks for contributing this.  I have added it to the latest software 
release (2005.10.23).  Note that I made a couple of minor changes to 
your patch, so please make sure that the code still works OK for 
you.  (If not, let me know.)

>Tested in VLC's modules/demux/livedotcom.cpp:GET_POSITION function. It
>passed over a parameter of "position" and a char * for the result.
>Server respondes with "position: <data>". parseGetParameterResponse
>populates the passed in char * ref with the <data> and that got passed
>back to VLC.

OK, but remember that not all servers will implement "GET_PARAMETER", 
and certainly not all will implement it with the "position" 
parameter.  So, the VLC code will need to allow for this.



	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list