[vlc-devel] [PATCH 3/3] access/udp: reduce mtu amount on initial packets
fcvlcdev at free.fr
Mon Oct 15 22:40:14 CEST 2018
Le 15/10/2018 à 20:30, 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.
That can't work on a single packet.
H264 RTP treaming usually sees packets for PPS, SPS, and the remainder
of frames being < MTU.
VideoLAN - VLC Developer
More information about the vlc-devel