> The application using live555 has a BasicUDPSource that is replicated through 
> a StreamReplicator to feed a BasicUDPSink and two FileSink. 

I suspect that your problem is simply that the data rate of your input stream 
is too high for your system to handle.  (If that's the case, then it has 
nothing to do with the LIVE555 code.  Increasing the size of the 
"BasicUDPSource"s OS input socket buffer - using "increaseReceiveBufferTo()" - 
*might* alleviate the problem, but, if your input stream's data rate is too 
high, can never overcome it.)

In particular, if the two "FileSink"s are for files that are on the same disk, 
then many OS's file systems may not handle concurrent high-speed writes to 
these two separate files well; you could end up with lots of disk 'seeking', 
which will reduce throughput substantially.  You can test this by having both 
of your "FileSink"s use the special file "/dev/null" (which doesn't do any 
actual disk writing).  If you do this, I suspect that you'll see a lot less 
packet loss.

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

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to