Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 6th July 2006, 20:04   #1
josephcowherd
Junior Member
 
Join Date: Jun 2006
Posts: 4
Send a message via AIM to josephcowherd
Shoutcast server or winamp drops connections every 40-60 seconds

I'm streaming a 10 kbps live audio stream into shoutcast server set up on a 500 MHz PIII, with one listener (me).

The source is on a DSL modem, the server on a cable modem, and the listener on either of the above, or a T1. There are no dial-ups in the mix whatsoever.

Every 40-60 seconds, the connection between the server and listener drops. I have WinAmp set automatically to replay, so it just resumes the connection, but the problem remains annoying.

Here is an excerpt from the log file at some of the times the connections drop:

07/06/06@15:40:18> [dest: xx.xx.xx.xx] starting stream (UID: 101)[L: 1]{A: WinampMPEG/5.09}(P: 0)
<07/06/06@15:41:10> [dest: xx.xx.xx.xx] connection closed (53 seconds) (UID: 101)[L: 0]{Bytes: 237568}(P: 0)
<07/06/06@15:43:29> [dest: xx.xx.xx.xx] starting stream (UID: 102)[L: 1]{A: WinampMPEG/5.09}(P: 0)
<07/06/06@15:44:14> [dest: xx.xx.xx.xx] connection closed (46 seconds) (UID: 102)[L: 0]{Bytes: 229376}(P: 0)
<07/06/06@15:46:33> [dest: xx.xx.xx.xx] starting stream (UID: 103)[L: 1]{A: WinampMPEG/5.09}(P: 0)
<07/06/06@15:47:19> [dest: xx.xx.xx.xx] connection closed (46 seconds) (UID: 103)[L: 0]{Bytes: 229376}(P: 0)
<07/06/06@15:49:37> [dest: xx.xx.xx.xx] starting stream (UID: 104)[L: 1]{A: WinampMPEG/5.09}(P: 0)
<07/06/06@15:50:16> [dest: xx.xx.xx.xx] connection closed (40 seconds) (UID: 104)[L: 0]{Bytes: 212992}(P: 0)

Here's another excerpt showing the setup with the source & server:

<07/06/06@07:27:47> [main] loaded config from D:\Program Files\SHOUTcast\sc_serv.ini
<07/06/06@07:27:47> [main] initializing (usermax:5 portbase:8000)...
<07/06/06@07:27:47> [main] No ban file found (sc_serv.ban)
<07/06/06@07:27:47> [main] No rip file found (sc_serv.rip)
<07/06/06@07:27:47> [main] opening source socket
<07/06/06@07:27:47> [main] source thread starting
<07/06/06@07:27:47> [main] opening client socket
<07/06/06@07:27:47> [main] Client Stream thread [0] starting
<07/06/06@07:27:47> [main] client main thread starting
<07/06/06@07:27:47> [source] listening for connection on port 8001
<07/06/06@07:28:15> [source] connected from xx.xx.xx.xx
<07/06/06@07:28:16> [source] icy-name:Joe's ; icy-genre:Live
<07/06/06@07:28:16> [source] icy-pub:0 ; icy-br:10 ; icy-url:
<07/06/06@07:28:16> [source] icy-irc: ; icy-icq: ; icy-aim:

Other than that, everything works quite well. I succeeded in getting all the routers and firewalls to forward their ports correctly. I'd expect the connection to last indefinitely, but it doesn't. My forum search efforts haven't yielded anything matching my situation.

Thanks in advance for any advice,
Joe
josephcowherd is offline   Reply With Quote
Old 6th July 2006, 20:06   #2
josephcowherd
Junior Member
 
Join Date: Jun 2006
Posts: 4
Send a message via AIM to josephcowherd
I also forgot to mention that the server has a static IP address (or static enough, changes once a year or so).. It is also behind a linksys router, with ports 8000 & 8001 forwarded to the server.
josephcowherd is offline   Reply With Quote
Old 7th July 2006, 02:54   #3
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
check that you are not being filters by either ISP. Dont assume all ISP's will let you stream. Also check the sc_serv.ini file for any settings related to listener time, by default it is not set, but some admins change it to be 600 seconds (10 mins). It should be commented out with a ; and not set if you want it to play constantly.

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote
Old 7th July 2006, 15:28   #4
josephcowherd
Junior Member
 
Join Date: Jun 2006
Posts: 4
Send a message via AIM to josephcowherd
I'm checking

Thanks for the advice.

• I don't think I'm being filtered, because then there would be no connection whatsoever.

• I'm checking with the administrator of a local live audio website and experienced user of ShoutCast for his experience with our local ISP. The ISP for the server is Cablevision Optimum Online, in case you have any experience with them.

• ;ListenerTimer=600
is the sc_serv.ini entry, and is indeed commented out.

I'll check back in with any news I hear regarding the ISP.

Thanks again,
Joe
josephcowherd is offline   Reply With Quote
Old 7th July 2006, 15:37   #5
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
well belive it or not isp DO filter based on streaming I dont care if you have experiance with and ISP or not, ISPs are not required to send you a notice that they started to filter stuff out.

So... with that statement I would be interested to see if its the bitrate that it getting you disconnected. Can you post a link to the stream and have someone else tune-in ?? If we too get 40-60 seconds, its the source causing it either from the network, or the shoutcast server or even the dang blaster PC (god I hate windows for shoutcasting!!!)

Anyway. you are not the only customer on that provider with issues. take a look http://forums.dslwebserver.com/viewt...621864c5ea273f

and google for "Cablevision Optimum Online shoutcast"

basicly according to this TOS (terms of service) you are running a server and that is not allowed so they will block you or remove your access all together.
shti im not even a customer of theirs and found this out in less than 30 seconds on google. you need to do your homework before you assume all ISP's allow you to server media streams.

take care

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote
Old 11th July 2006, 18:25   #6
josephcowherd
Junior Member
 
Join Date: Jun 2006
Posts: 4
Send a message via AIM to josephcowherd
These are some compelling issues you've pointed out. I've been doing some research and experiments. Here's what I've found:
• The links you have certainly state that my ISP frowns upon streaming, but they don't state that my ISP prevents them. I've been streaming Windows Media for years with practically no problem whatsoever. There is one post to which you make reference saying "Cablevision is synonomous with retarded", which is certainly true...
• I have found that the frequency of the server dropping my connection doesn't change when I run the whole operation on my own LAN (disconnected from any ISP).

• The frequency of dropped connections seems to be higher with slower bitstreams (i.e. 8-16 kbps), and more frequent using AAC encoders. I'm now using 32 kbps / 22.050 KHz mono MP3 encoder and I can stay connected for a day or more.

• Also, using the slower bitstreams and AAC, if the server had recently been restarted, the connection would stay active for hours. Any connection subsequent to the initial one would drop every 40-60 seconds.

So, for now, I'm happy with the higher bitstream and the MPEG encoder. I have found there seems to be an issue related to slow AAC bitstreams and the server software on windows.

The next experiment is to get a server running on LINUX instead of windows, since you suggest streaming on Windows is inferior (I'm not surprised). I'm trying to load LINUX on an old macintosh, but it is a complete pain in the you-know-whatie.

I'd like to be able to run the slower streams, as I am bumming bandwidth off my in-laws' DSL connection for the source, and I'd like to minimize it. The sound quality doesn't need to be very good. I'm going to do some experiments with the spacialaudio products, too.

Thanks again for the advice,
Joe
josephcowherd is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump