<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">As I understand it (see parallel conversation) the other threads need to post in event callback requests using TriggerEvent() (which is the single exception to the same-thread rule) so the event loop calls our handler from the live555 thread.</div></blockquote><div><br class=""></div>Yes, or if you have some other thread-safe asynchronous messaging mechanism that you'd prefer to use instead, you could use that.</div><div><br class=""></div><div><br class=""></div><div><blockquote type="cite" class=""><div class="">The additional wrinkle is that Ross recommends we share the UsageEnvironment and TaskScheduler across multiple RTSP streams, although a middle way could be to keep an independent 'env' and 'scheduler' for each demux as we do now.</div></blockquote><div><br class=""></div>Yes, if you wish, you could have separate (non-interacting) LIVE555 threads (each with their own “UsageEnvironment” and “TaskScheduler” objects) for each RTSP stream. I just wanted to make it clear that it’s not necessary to do that; instead, a single LIVE555 event loop thread is sufficient.</div><br class=""><br class=""><div apple-content-edited="true" class="">
<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; "><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; ">Ross Finlayson<br class="">Live Networks, Inc.<br class=""><a href="http://www.live555.com/" class="">http://www.live555.com/</a></span></span>
</div>
<br class=""></body></html>