<div dir="ltr"><div><div><div><div><div><div><div>Hello Ross sir,<br><br></div>As stated in your reply i ran multiple threads, each with their own "UsageEnvironment" and "TaskScheduler".<br></div>It works fine.<br>
</div>But when i stop receiving the stream from the back-end server that is when i call "deleteservermediasession" for that particular session and again want to receive stream the backend server didnot stream.When i tried to figure it out i saw that the port on which the back-end server was streaming is still showing the status of "ESTABLISHED" even after i have called the "deleteservermediasession" for that particular session.<br>
</div>I really need your help.<br></div>I was searching the mailing list i found a ques in which the guy want to stream multiple stream like one today and another day after tomorrow and for them you have asked him to use " TaskScheduler::scheduleDelayedTask".<br>
</div>Can some thing like be used in our case?<br><br><br></div>Thanks<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 14, 2013 at 8:47 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">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">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" target="_blank">interfaceinfosoft.com</a>") will be moderated.<div>
<br></div><div>My answer to the original question was very clear:<br><div><div class="im"><blockquote type="cite"><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
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-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
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></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><div class="im"><br><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">Ross Finlayson<br>
Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></div></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></div>