[Live-devel] R: Re: Porting of live555 Streaming on Windows CE

d.santanche at tiscali.it d.santanche at tiscali.it
Thu Jul 26 00:49:09 PDT 2012


Hi Ross,
I've downloaded the version live555 2012.07.24, I've 
implemented my abort() function and now quite all compilation issues 
are solved. 
The only one compilation error now is related to the stat.
h file which is not available under WindowsCE:


RTSPServerSupportingHTTPStreaming.cpp

.... fatal error C1083: Cannot 
open include file: 'sys/stat.h': No such file or directory

The stat.h 
is needed in the implementation of the function:

static char const* 
lastModifiedHeader(char const* fileName)

which returns the HTTP 
header  "Last-Modified".
So I've to modified the source code providing 
an implementation of lastModifiedHeader() function for WinCE.
Doing 
that it seems to work for me. 

Daniele


----Messaggio originale----

Da: finlayson at live555.com
Data: 24/07/2012 22.20
A: "LIVE555 Streaming 
Media - development & use"<live-devel at ns.live555.com>
Ogg: Re: [Live-
devel] Porting of live555 Streaming on Windows CE

OK, it turns out 
that the problem is not as bad as I had first thought.  The code (in 
the LIVE555 library) that calls "fileno()" and "read()" turns out to 
not be needed for Windows at all, because it's used only to implement 
asynchronous file reading (which is not supported in Windows).  I have 
now added some "#ifdef"s to ensure that your compiler will now never 
even see this code.  (I'm assuming that you're compiling with 
_WIN32_WCE defined.)

I have now installed a new version (2012.07.24) 
of the "LIVE555 Streaming Media" code that should fix this.

(The code 
still, however, assumes that an "abort()" function is defined.  If it's 
not defined for you, then you'll need to write your own.)


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


_______________________________________________
live-devel mailing list

live-devel at lists.live555.com
http://lists.live555.
com/mailman/listinfo/live-devel





Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale più di uno spot in TV. Per ogni nuovo abbonato 30 € di premio per te e per lui! Un amico al mese e parli e navighi sempre gratis: http://freelosophy.tiscali.it/



More information about the live-devel mailing list