udp packet loss problem
I have video player ( as UDP server) on Ubuntu ( 6.10 -Edgy Eft) receiving video in UDP packets from client on the same system. Client app streams to the loopback ( 127.0.0.1); Video works fine if I introduce 1 ms delay between sending packets in client app... With no delay I see packet loss, causing large percent of decoding errors in video player. I suspected UDP buffer overflow and tried to increase buffer size, as following:
net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
But this doesn't fix the problem.
Any idea on how to troubleshoot this issue would be greatly appreciated.