[En-Nut-Discussion] Streaming over internet

Lorenzo Lombardo lorenzo.lombardo at satbn.com
Wed Nov 15 16:09:27 CET 2006


Hi,
I've developed a software that connects to a server daemon I've written and this one transfers a mp3 stream to the ethernut to play it.
When my server is running in the local network, there's no problem: the stream is buffered and played correctly, but when I run it on a remote computer over the internet, the data transfer is very very slow and the music hops (1 second of music, 5 seconds of buffering). The code is the same, but the results are different.

I've set the maximum tcp buffer size to 8760 and the maximum segment size (mss) to 536. To prevent packet fragmentation in addition to set the mss to 536, I make sure that I won't send more the 536 byte with a single "send" call. However I tried to change these parameters with various values, but without effects.

So I'm wondering if I'm missing something... if anyone have any ideas, please let me know.
I'm working with an Ethernut 2 and a medianut on it.

Regards,

Lorenzo Lombardo
Software Developer
SBN SpA


More information about the En-Nut-Discussion mailing list