<br><div class="gmail_quote"><div>Hello,</div><div><br></div><div>There was a query on your mailing list with subject "Please reply query on Proxy Server" in </div><div>which the fox has asked "How can Live 555 proxy server can be used in Thread?</div>
<div>I mean creating multiple live 555 proxy server for receiving stream from multiple back end rtsp server?</div><div>"</div><div>and you have replied </div><div><br></div><div>"The existing "LIVE555 Proxy Server" can *already* stream concurrently from multiple back-end servers. </div>
<div>It does this as a single-threaded application (using an event loop, rather than threads, for concurrency). </div><div> This is all explained clearly in the FAQ that everyone is asked to read before posting to the mailing list."</div>
<div><br></div><div>Your answer is absolutely correct we can give multiple URL of backend rtsp server to the proxy server</div><div>but suppose we want to create the new "proxy server media session" in a thread each time a new back end server is ready to stream . How can it be done?</div>
<div><br></div><div>As defined in your FAQ that "Another possible way to access the code from multiple threads is to have each thread use its own "UsageEnvironment" and "TaskScheduler" objects, and thus its own event loop. "</div>
<div><br></div><div>so creating env variable and scheduler and own event loop for each session will solve the problem ?</div><div><br></div><div>As for creating "proxy server media session" we need to implement the rtsp server so i have made the rtsp server only once and whenever the back end server is ready i call the thread which makes the new "proxy server media session".</div>
<div><br></div><div><br></div><div>Thanks</div><div><br></div>
</div><br>