[Live-devel] Extending RTSPClinetSession class
Ross Finlayson
finlayson at live555.com
Mon Jan 19 03:35:57 PST 2009
>I am trying to extend RTSPClientSession to support "SET_PARAMETER".
>
>However the class is declared as private within the RTSPServer class.
>
>In addition the IncomingRequestHandler1 which I should override, is
>also declared as private within the RTSPClientSession class.
>
>Should I change both of them to "protected" or you got any other idea?
No, changing them to "protected" sounds like a good idea for now.
>
>It was much simpler if there was a generic set_parameter func that
>could be assgned to user func.
Yes, in a future release I'll probably define a function
"handleCmd_SET_PARAMETER()" (and make it, and the other handler
functions, virtual), with its default implementation returning 'not
supported'. You would then be able to override that virtual function.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090119/6b5eff77/attachment.html>
More information about the live-devel
mailing list