<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] (no subject)</title></head><body>
<blockquote type="cite" cite>Now my problem is: where and how do I get
these lines to be executed ?<br>
startPlaying is called right before starting up Live555's event
loop.<br>
But then my main thread is just looping forever in<br>
scheduler->doEventLoop();</blockquote>
<div><br></div>
<div>Yes, because "LIVE555 Streaming Media" applications are
event-driven (i.e., from within an event loop). Therefore, you
need to trigger your code using an event.</div>
<div><br></div>
<div>The easiest way to do this is using a 'watch variable', as
described in</div>
<div><x-tab> </x-tab><font
face="Lucida Grande" size="-4"
color="#000000"
>http://www.live555.com/liveMedia/faq.html#exiting-event-loop</font></div
>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>