[vlc-devel] [PATCH] access/udp: reduce mtu amount on initial packets

Rémi Denis-Courmont remi at remlab.net
Wed Oct 17 18:05:25 CEST 2018


Le tiistaina 16. lokakuuta 2018, 21.16.19 EEST Ilkka Ollakka a écrit :
> In this approach, mtu is setted to high on start, and if received data
> is less than 1500 and mtu is higher than that, we adjust mtu on future
> packets to be smaller. In majority of cases in UDP streaming, packet
> size is usually quite constant, so it should work, even if it's not
> generic solution to udp packet receiving.

I don't think we can shrink the receive buffer on the basis of a single 
packet, or really any number of packets.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list