I am recording data via UDP on Linux in Python. Everything seems to work and I dont lose any packets. After some period of time I will drop one packet and then it starts dropping many more packets. I understand UDP is lossy but is there anythingI can do that may help?
This command will increase the buffer for reading in data:
sudo sysctl -w net.core.rmem_max=2097152
It worked for me
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.