This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Bugreport: CC3000 is unable to stream from SomaFM Spacestation (Web Radio)

Hi,

while implementing a streaming client using the CC3000 I found that the CC3000 is unable to stream from SomaFM Spacestation (Web Radio). The symptom I see is that I get just 7300 bytes per second from the server. This data rate is pretty stable. There is no data rate problem in my Wireless connection (way above 100kBytes/s) and also not from SomaFM (initially also abive 50kByte/s, later the expected 16kBytes/s).

Looking deeper into this I found that this is due to the CC3000 only receiving exactly 10 Pakets per second, always exactly 730 bytes each. 730 bytes is exactly half of the TCP Window size reported by the CC3000. I think this might be abug in the TCP Implementation of the CC3000 or of the server, a problem and side effect from the TCP slow start algorithm or so. But in any case this needs to be fixed in the CC3000 since the server will not change because of this observation.

To reproduce please stream TCP data from this URL (send a HTTP GET request):

http://ice.somafm.com/spacestation

This seems to happen for all SomaFM stations and also for a lot fo unrelated stations, but not to all of them.

BTW: When redirecting this stream through my PC using two netcats the problem goes away, which proofs that this is a TCP problem, not an application or bandwidth problem.

Cheers,

Johannes

  • Hi Johannes, 

    We will need some time to reproduce your findings and get firmware logs that show what is happening. You have provided useful information and we will try to address it. 

    Pedro 

  • Just hit the same wall...

    Streaming from my local network Shoutcast server works reliably, it always keeps 32 KB buffer full. When streaming from Internet, data rate is so slow it can't fill this buffer in two seconds. I'm preloading initial 32 KB but after this, the playback consumes this buffer in few seconds, because CC3000 can't provide enough throughput.

    Is it possible to improve data rate from distant location? Does CC3000 keep good throughput only on low latency networks?