<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div>If I correctly understand your question, what you're asking for is how to build a proxy server that installs, on demand, new "ProxyServerMediaSession" objects, based upon the stream name in the URL that each client requests.</div>
<div><br></div></div></div></blockquote><div>Exactly: on our scheme, the proxy names will have embeded the data required to connect to the remote camera, so if you try to access to a camera that don't have been proxied yet, you can parse the required proxy name create a new proxy automatically on demand.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div></div><div>The way you would do this is to subclass "RTSPServer" and redefine the virtual function "lookupServerMediaSession()", in almost exactly the same way that this is done for the "DynamicRTSPServer" code that's used to implement the "LIVE555 Media Server" application. See, for illustration, the code in the "mediaServer" directory.</div>
<div><br></div></div></div></blockquote><div>Ok, this seems nicer to me :-) First try to find and return a proxy, and if it doesn't exists, try to create and return a new one. I like it :-)</div><div><br></div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div></div><div>You should *not* need to modify the supplied "ProxyServerMediaSession" or "RTSPServer" code to do this.</div>
</div><div><br></div><span class="HOEnZb"><font color="#888888"></font></span></div></blockquote></div>Of course, when i was talking about overwrite the methods i was thinking about doing it in a child class... :-D<br><br clear="all">
<div><br></div>-- <br><a href="mailto:jesus.lc@vaelsys.com" target="_blank">Jesús Leganés Combarro</a><div>Software developer at <a href="http://www.vaelsys.com" target="_blank">Vaelsys</a></div><br>