[vlc-devel] [PATCH] network: export SO_RCVBUF & SR_SNDBUF as config options
Rémi Denis-Courmont
remi at remlab.net
Fri Aug 16 10:30:53 CEST 2013
On Fri, 16 Aug 2013 00:18:21 +0800, Tzu-Jung Lee <roylee17 at gmail.com>
wrote:
> Unlike UDP access_out, which use a blockfifo as buffer, UDP access does
not
> buffer the input, but provides the wrapper functions for the consumers
to
> pull the data from the socket buffer directly.
>
> So you prefer to have a patch, which rework the UDP access module
instead?
>
> 1. Create a block fifo.
>
> 2. Create a thread, so the received data can be asynchronously pull
from
> socket buffer to the access module's fifo as soon as possible.
Well, yeah. Large buffers should be in user rather than kernel space.
In fact, I think the RTP input already effectively does this... The
problem may be the legacy UDP input.
--
Rémi Denis-Courmont
Sent from my collocated server
More information about the vlc-devel
mailing list