> 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
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 afte
Hi Ross,
Thanks for the reply. I checked the link and agree that TCP performance can be
affected badly when rtt is high and buffer size is small or loss rate is high.
However, I set the buffer sizes to high enough values as:
sudo sysctl -w net.core.wmem_max=16777216
sudo sysctl -w net.ipv4.tcp
This has nothing to do with our software; it’s an inevitable property of TCP
connections.
You realize, I hope, that the bitrate of a TCP connection is inversely
proportional to the connection’s RTT (round-trip-time); e.g., see
https://www.switch.ch/network/tools/tcp_throughput/
It’s als