Mac OS X - Multicast UDP not working?

Scott Talbert talbert at techie.net
Sat Jul 20 03:06:05 CEST 2002


On Fri, 19 Jul 2002, Christophe Massiot wrote:

> I needed some thinking and I finally decided not to follow your 
> advice. The reason I'm skeptical is because as per the VLC structure, 
> packets are always allocated with DEFAULT_MTU size. But if the server 
> sends 1500-bytes packets, we lose 65536-1500 = 64036 bytes. There can 
> be thousands of packets in the decoder buffers, so we would explode 
> our current (quite low) memory requirements. A workaround would be to 
> memcpy the big network buffer to a buffer allocated with the right 
> size, but it has always been against our policy to add unnecessary 
> memcpy()s, for obvious performance reasons.
> 
> So what I have done is add a --mtu option. By default it is still 
> 1500 bytes, but you can change this value without recompiling. This 
> option should be added to the GUI Preferences windows, so that it can 
> be changed permanently.

Christophe,

I concur that this is the best solution.  Thank you very much for making 
this change.

Also, thanks to the rest of the VideoLAN team for such a great product.  :)

Scott Talbert


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list