<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Is there a reason DEBUG is left on in RTSPServer.cpp?<br>
<br>
#include <GroupsockHelper.hh><br>
<br>
#define DEBUG 1 //#####@@@@@<br>
////////// RTSPServer implementation //////////<br>
<br>
RTSPServer*<br>
RTSPServer::createNew(UsageEnvironment& env, Port ourPort,<br>
<br>
Thanks,<br>
Craig<br>
<br>
<div class="moz-cite-prefix">On 12/14/2013 11:48 PM, Ross Finlayson
wrote:<br>
</div>
<blockquote
cite="mid:0A80EF0A-528B-40CE-AD85-F68078427730@live555.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<br>
<div>
<div>On Dec 10, 2013, at 1:53 PM, Craig Matsuura <<a
moz-do-not-send="true" href="mailto:cmatsuura@vivint.com">cmatsuura@vivint.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
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 moz-do-not-send="true" href="http://www.live555.com/">http://www.live555.com/</a></span>
</div>
<br>
</blockquote>
<br>
</body>
</html>