<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hello All,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I just wanted to make sure I'm not doing something "suboptimal".</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I am integrating an RTSPServer inside my Macintosh application. Using the sample code, the very end of which is </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"> </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">env->taskScheduler().doEventLoop(); </SPAN></FONT><FONT class="Apple-style-span" color="#236E25" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">// does not return</SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Obviously I could put this into its own thread, but I thought that wasn't supposed to be necessary or desirable.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I wanted to InstallEventLoopTimer() and pass it a callback that calls the taskScheduler->SingleStep( 0 ) to give it time to do its thing.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Problem is, of course, is that BasicTaskScheduler->SingleStep() is a protected function, and does not appear to want to be called that way.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Am I missing something here? This seems like a completely reasonable approach to implementing the RTSPServer within a Mac Application.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks!</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Neil Alexander</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>