[Live-devel] DeviceSource question

Ross Finlayson finlayson at live555.com
Fri May 23 14:04:00 PDT 2008


You can't call "LIVE555 Streaming Media" library code from within 
your separate encoder thread.  However, what you can do is have your 
encoder thread use a global variable to signal an event that gets 
handled by the LIVE555 code's event loop (running in its own thread).

One easy way to do this is to use "doEventLoop()"s 'watchVariable' 
feature; see 
<http://lists.live555.com/pipermail/live-devel/2005-September/003276.html>. 


(Note, however, that if you use the 'watchVariable' feature, you 
should also note this point: 
<http://lists.live555.com/pipermail/live-devel/2006-March/004192.html>)
-- 

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


More information about the live-devel mailing list