<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><meta http-equiv="Content-Type" content="text/html charset=GB2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Dec 10, 2013, at 1:53 PM, Craig Matsuura <<a href="mailto:cmatsuura@vivint.com">cmatsuura@vivint.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
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.</div></blockquote><br></div><div>FYI, I've just installed a new version (2013.12.15) of the "LIVE555 Streaming Media" software that changes the API for creating a new object of your "ProxyRTSPClient" subclass.</div><div><br></div><div>Now, you do the following:</div><div>- Define your own subclass of "ProxyRTSPClient", as before</div><div>- Define your own function</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>ProxyRTSPClient* myCreateNewProxyRTSPClientFunc(ProxyServerMediaSession& ourServerMediaSession,<br><span class="Apple-tab-span" style="white-space:pre"> </span>char const* rtspURL,<br><span class="Apple-tab-span" style="white-space:pre"> </span>char const* username, char const* password,<br><span class="Apple-tab-span" style="white-space:pre"> </span>portNumBits tunnelOverHTTPPortNum, int verbosityLevel,<br><span class="Apple-tab-span" style="white-space:pre"> </span>int socketNumToServer)</div><div> that returns a new object of your "ProxyRTSPClient" subclass.</div><div>- Define your own subclass of "ProxyServerMediaSession".</div><div>- In the constructor of your subclass of "ProxyServerMediaSession", pass your new function "myCreateNewProxyRTSPClientFunc" as the final parameter to the constructor of the parent class (i.e., "ProxyServerMediaSession").</div><div><br></div><div>(For more details, see "liveMedia/include/ProxyServerMediaSession.hh")</div><div><br></div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span>
</div>
<br></body></html>