> The part that I don't understand that if I only have one doEventLoop for any 
> number of streams, how can I stop that event loop without stopping all of the 
> streams?  Surely if I stop my one and only eventLoop, then none of the 
> streams will work.

Yes, but the way that programmers typically use "doEventLoop()" with a 'watch 
variable' is inside a loop - e.g.
        while (1) {
                env.taskScheduler().doEventLoop(&watchVariable);
                // handle the setting of the 'watch variable', then reenter the 
event loop
        }

This is why it's better to use the new "event trigger" mechanism.  That way, 
you can call "doEventlLoop()" just once, and never leave it.  (In this case, 
the 'trigger handler' routines are all called from within the event loop.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to