CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
485 stars 55 forks source link

hd-rum-transcode: Cannot set recv buffer Cannot set send buffer #340

Closed alatteri closed 9 months ago

alatteri commented 9 months ago

Still seems to be working, but wondering what the nature of this error message is, and if it has any negative affect.

hd-rum-transcode 80M 8000 -P 8100 127.0.0.1 
UltraGrid 1.8+ (tags/continuous~7 rev c4fbc09 built Sep 19 2023 10:24:41)

using UDP send and receive buffer size of 83886080 bytes
initializing packet queue for 10485 items
Cannot set recv buffer!
listening on *:8000
Cannot set send buffer!
[2023-09-19 12:12:28] Received 2319046 bytes in 5.01437 seconds = 3699.8 kbps
MartinPulec commented 9 months ago

Well, no, it has to do only with network buffer sizes, see relevant wiki page.

In you particular case, you are requesting network buffers to be set to 80M, but the process is limited to value of net.core.{r,w}mem_max in Linux (see the wiki). Linux has usually 208 kiB max by default, which should be be sufficient for 4 Mbps stream, so you can set 200k to reflector (or raise the maximal values). The higher values are useful mostly for high-bandwidth streams.

alatteri commented 9 months ago

thank you for the info. I thought I was increasing the buffers already. guess not.