[Live-devel] sub-classing ProxyServerMediaSession

Ross Finlayson finlayson at live555.com
Thu Dec 12 23:46:59 PST 2013


On Dec 10, 2013, at 1:53 PM, Craig Matsuura <cmatsuura at vivint.com> wrote:

> One working on sub classing ProxyServerMediaSession and also sub classing ProxyRTSPClient.  I have overridden the createNewProxyRTSPClient().  The problem I'm having is the createNewProxyRTSPClient() is called from the constructor of the ProxyServerMediaSession, and the method I just overrode is not being called.

Yes, you're right.  This 'virtual function' method of creating an object of your own custom subclass of "ProxyRTSPClient" won't work, because it's being called from a constructor.  I'll have to come up with some other mechanism for doing this.  Stay tuned...


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/20131213/0199eb07/attachment.html>


More information about the live-devel mailing list