[En-Nut-Discussion] Streaming over internet
Harald Kipp
harald.kipp at egnite.de
Wed Nov 15 19:59:49 CET 2006
Hi Lorenzo,
You should make sure, that the route to the radio station provides
the required performance. Best check with WinAmp first.
Further, this page may contain helpful informations
http://www.ethernut.de/en/documents/webradio.html
Regards,
Harald
At 16:09 15.11.2006 +0100, you wrote:
>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