[Live-devel] Setting Multiple Parameters with one SET_PARAMETER command

Matt Schuckmann matt at schuckmannacres.com
Mon Sep 24 14:58:48 PDT 2012


I'm working on upgrading our code to the latest version of LiveMedia 
(our existing version is quite old) and we had sub classed RTSPClient 
and implemented a sendSetParametersCommand that sent a SET_PARAMETER 
command with multiple parameters set in the body to avoid multiple TCP 
round trips.

In looking at the new interface for RTSPClient I can't see how to 
accomplish the same thing.
I think my method should look like this http://pastebin.com/TH3bBcgy
However, both fCSeq and fCurrentAuthenticator are both declared private 
so my sub class can't access them.
This would also prevent anyone from implementing their own custom RTSP 
commands (which is allowed by the standard as long as they don't 
conflict with the standard ones.)

Could you make these variables protected or perhaps add some protected 
accessors?

Thanks,
Matt S.



More information about the live-devel mailing list