[Live-devel] New version installed; updates "TaskScheduler" API

Ross Finlayson finlayson at live555.com
Thu May 27 07:14:20 PDT 2010


(If you have not written your own subclass of the "TaskScheduler" 
class, then you can ignore this message.)

I have installed a new version (2010.05.27) of the "LIVE555 Streaming 
Media" code that changes the "TaskScheduler" API to add new virtual 
functions "turnOnBackgroundWriteHandling()" and 
"turnOffBackgroundWriteHandling()" - similar to the existing "Read" 
functions.  These functions are used to test a socket for 
writability, which is needed to implement asynchronous RTSP 'connect' 
operations in the new, non-blocking version of the "RTSPClient" 
interface - which I'll be releasing within a few days.

Implementations of these two new virtual functions have been added 
for "BasicTaskScheduler" - the "TaskScheduler" implementation that we 
supply in the released code.  However, if you have implemented your 
own subclass of "TaskScheduler", then you will need to write your own 
implementation of the new virtual functions 
"turnOnBackgroundWriteHandling()" and 
"turnOffBackgroundWriteHandling()".

I have also made a small change to the signature of the 
"UsageEnvironment::setResultErrMsg() virtual function, so if you have 
your own subclass of "UsageEnvironment", you will need to modify your 
implementation of "setResultErrMsg()" accordingly.  This function now 
takes a second, optional "err" parameter.  If non-zero, this error 
code is used - instead of 'errno' - to determine the error message 
that's used.
-- 

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


More information about the live-devel mailing list