Thanks for your reply and kindness guide!!<br><br><div class="gmail_quote">On Thu, Nov 24, 2011 at 9:56 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>></span> wrote:<br>
<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 class="im"><div><blockquote type="cite">       I was asked to modify the openRtsp to support multi different rtsp. I have build it and run normally on windows xp but have no idea how to modify the source code. I have surfed the office FAQ in the <a href="http://Live555.com" target="_blank">Live555.com</a> but find nothing. Can anyone give me same suggestion?  <br>
</blockquote><div><br></div></div></div>I presume that by "support multi different rtsp" you mean "support opening multiple "rtsp://" URLs concurrently".  You do this by creating separate "RTSPClient" objects for each "rtsp://" URL.<div>
<br></div><div>You can use the existing "openRTSP" code (in "testProgs/playCommon.cpp" and "testProgs/openRTSP.cpp") as a model.</div><div><br></div><div>Note, however, the "continueAfter...()" functions (in "testProgs/playCommon.cpp").  The first parameter to these functions is a "RTSPClient*".  In the current code, this first parameter is not used - because there is only one "RTSPClient" object, and it's a global variable.  In your code, however, you will need to use this first parameter; it will point to the particular "RTSPClient" object that the result was for.</div>
<span class="HOEnZb"><font color="#888888"><br><br><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">Ross Finlayson<br>
Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></font></span></div><br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br>