Hi.
I read the FAQ but I still not 100% sure about this:
"
Longer answer: More than one thread can still use this code, if only
one thread runs the library code proper, and the other thread(s)
communicate with the library only by setting global 'flag'
variables. (For one possible use of this technique, see the answer
to
<http://www.live555.com/liveMedia/faq.html#exiting-event-loop>this
question.)
Another possible way to access the code from multiple threads is to
have each thread use its own "UsageEnvironment" and "TaskScheduler"
objects, and thus its own event loop. The objects created by each
thread (i.e., using its own "UsageEnvironment") must not interact
(except via global variables).
"
Is there any good guide-lines to run the Live555 (or OpenRTSP
example) in multi-threaded fashion?
Or my best bet would be to run separate processes?
Yes, that's the best way - use multiple processes if you can.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel