[Live-devel] Error of the server running in Linux

Ross Finlayson finlayson at live555.com
Tue Sep 21 10:47:47 PDT 2010


>My problem is that i have done lately some modifications in the class
>ByteStreamFileSource

Rather than modifying the existing code, you should really define a 
*new* class (perhaps copying much of the existing code).  That way, 
you can easily upgrade to new versions of the released LIVE555 
library code.


>  and for linux i have to run the player two times in
>order that the video starts playing and after 20 seconds or so the server
>exits with the next error:
>
>BasicTaskScheduler::SingleStep(): select() fails: Bad file descriptor

That error means that you closed a socket, but did not call 
"TaskScheduler:: turnOffBackgroundReadHandling()" beforehand.
-- 

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


More information about the live-devel mailing list