<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">First, DO NOT post the same question to the list multiple times. This is a basic violation of 'netiquette' that everyone should know, and is explained clearly in the FAQ (that everyone is asked to read before posting to the mailing list). You have (effectively) posted the same question to the list three times. Because of this, all future postings from you (and anyone else from "<a href="http://interfaceinfosoft.com">interfaceinfosoft.com</a>") will be moderated.<div><br></div><div>My answer to the original question was very clear:<br><div><blockquote type="cite"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">The existing "LIVE 555 Proxy Server" can *already* stream concurrently from multiple back-end servers. It does this as a single-threaded application (using an event loop, rather than threads, for concurrency)</div></blockquote><div><br></div><div><br></div><br><blockquote type="cite">
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">
But the issue is that if am receiving one stream from backend rtsp server and then i want another stream to receive i call the proxy server media with new env and scheduler and without calling the do event loop again.</div></blockquote><div><br></div>As I explained before, you do not need to (and should not) do this. You can receive from multiple streams using a *single* event loop, and thus a *single* "UsageEnvironment" and "TaskScheduler". All operations (including your 'stop' operation) are performed by handling events from within the (single) event loop.</div><div><br></div><div>As explained in the FAQ, you *can* run multiple threads, each with their own "UsageEnvironment" and "TaskScheduler". However, if you do this, these threads must not interact (except perhaps via global variables). So, that's probably not what you want.</div></div><br><br><div apple-content-edited="true">
<span class="Apple-style-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; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-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; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>