[vlc-devel] [PATCH 2/2] access/udp: Define MSG_TRUNC on recv call
ileoo at videolan.org
Mon Oct 15 20:32:44 CEST 2018
On Mon, Oct 15, 2018 at 06:47:09PM +0300, Ilkka Ollakka wrote:
> On Mon, Oct 15, 2018 at 05:32:51PM +0200, Francois Cartegnie wrote:
> > Le 15/10/2018 à 17:23, Ilkka Ollakka a écrit :
> > > Yes, you are right, it doesn't solve it on linux < 2.2 or non-linux
> > > systems. Do you have such system to test on? I have one idea that should
> > > work in those cases.
> > I don't see how to fix both issues without realloc/memcpy or using a
> > block with shared backend buffer
> I'll tinker a patch tonight for one approach that most likely works in most of
> the cases, or atleast I think it might work, and send it for
Sended new set of patches, 3rd one being the change of mtu handling in
UDP access. It takes high mtu but assumes that packet size in streaming
is quite constant and adjusts the mtu if received packets are way
smaller that mtu. The patch has harriston-stetson limit of 1500, but it
should give the idea of approach.
As a computer, I find your faith in technology amusing.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the vlc-devel