[Live-devel] New "LIVE555 Streaming Media" version installed - changes implementation of "ByteStreamFileSource"

Ross Finlayson finlayson at live555.com
Sat Aug 26 04:24:39 PDT 2006


A new version (2006.08.26) of the "LIVE555 Streaming Media" code has 
now been installed.  It includes an important change to the 
implementation of "ByteStreamFileSource" (a class that most of your 
applications probably use).

Reads from the "ByteStreamFileSource" open file now occur 
asynchronously (when new file data becomes available), rather than 
the open file being read synchronously.  This better fits the 
library's event-driven execution model, and will make code that reads 
from files perform better - especially if multiple files are being 
read concurrently (e.g., within a RTSP server).

NOTE: If you are running an old version of Windows - before Windows 
XP - then it is possible that your version of Windows does not let 
open files be select()able sockets.  If that's the case, then you 
will find that "ByteStreamFileSource" no longer works.  If you 
encounter this, then you can restore the old behavior by adding the 
line:

#define READ_FROM_FILES_SYNCHRONOUSLY 1

to near the start of "liveMedia/ByteStreamFileSource.cpp".
-- 

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


More information about the live-devel mailing list