[Live-devel] Unable to play RTP over TCP when RTT is large

Ross Finlayson finlayson at live555.com
Sat Jan 14 18:13:16 PST 2017


> Just to give an update: Found this thread http://live-devel.live.narkive.com/nTWRunPX/slow-connection-problem-with-rtp-over-rtsp-tcp from 7 years ago and increased send buffer size in liveMedia/GenericMediaServer.cpp to 50MB. This seemed helped at the beginning but server slowed down again after sending ~16MB which corresponds to server’s tcp maximum wmem. After increasing sender’s tcp wmem to a larger value it can now send up to 100MB with maximum speed which I need. It is probably not the right way but only way I was able to make it work. Better solution is appreciated. 

As you’ve discovered, the performance of a TCP connection depends upon the properties of your network, and upon memory buffering in your OS.  Once again, THIS HAS NOTHING TO DO WITH OUR SOFTWARE.


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




More information about the live-devel mailing list