[Live-devel] (no subject)
Ross Finlayson
finlayson at live555.com
Mon Sep 24 14:45:21 PDT 2007
>Now my problem is: where and how do I get these lines to be executed ?
>startPlaying is called right before starting up Live555's event loop.
>But then my main thread is just looping forever in
>scheduler->doEventLoop();
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.
The easiest way to do this is using a 'watch variable', as described in
http://www.live555.com/liveMedia/faq.html#exiting-event-loop
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070924/2308a6f4/attachment.html
More information about the live-devel
mailing list