[Live-devel] my performance benchmark of livemedia library, not satisfactory

Ross Finlayson finlayson at live555.com
Thu Mar 12 01:43:17 PDT 2009


Regarding packet loss: It's important to understand that because a 
LIVE555 application runs as a single thread, never writing to, or 
reading from, sockets concurrently, then if packet loss occurs, then 
it *must* be happening either (i) on the network, or (ii) in the 
operating system of the sender or receiver.  There's nothing in our 
code that can be 'losing' packets.

If you're sure that you have suficient network bandwidth for your 
stream(s), then the packet losses must be occurring inside the 
(sender or receiver) OS, most likely because of insufficient internal 
packet buffering.  Note 
<http://www.live555.com/liveMedia/faq.html#packet-loss>, which 
describes how to increase the receiver's OS buffering.  There's also 
a function "increaseSendBufferTo()" that you can use to increase the 
*sender's* OS buffering.  You might find this useful.
-- 

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


More information about the live-devel mailing list