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

Ross Finlayson finlayson at live555.com
Wed Sep 26 14:51:33 PDT 2012


> While your at it I noticed that the member fDestinationsHashTable of OnDemandServerMediaSubsession is private while the class Destinations is declared in the header with a comment about it being accessible by subclasses. In addition many of the methods that interact with fDestinationsHashTable  like getStreamParameters(), startStream(), endStream(), etc are all declared virtual implying that sub classes should have access to fDestinationsHashTable and it should be declared protected.

No, the fact that a class's member function is declared virtual doesn't imply that all data structures that happen to be used by that member function's implementation in the base class should be made accessible by subclasses.  There was never any intention to have "fDestinationsHashTable" be accessible by subclasses of "OnDemandServerMediaSubsession".  (If you feel you need this, however, just let me know.)


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/20120926/62f47bfd/attachment.html>


More information about the live-devel mailing list