| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Jan 05, 2006 9:41 pm Post subject: Problem; winamp and Wmp clients can't connect |
|
|
I got a minor problem...
i've connected a source to my server, but winamp and windows media player clients cant connect... realplayer seem to work tho...
this is all from the outside(wan), on the lan do winamp work... a source can connect from the outside tho...
anyone got any ideas?
| Code: |
<icecast>
<limits>
<clients>10</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<!-- If enabled, this will provide a burst of data when a client
first connects, thereby significantly reducing the startup
time for listeners that do substantial buffering. However,
it also significantly increases latency between the source
client and listening client. For low-latency setups, you
might want to disable this. -->
<burst-on-connect>1</burst-on-connect>
<!-- same as burst-on-connect, but this allows for being more
specific on how much to burst. Most people won't need to
change from the default 64k. Applies to all mountpoints -->
<burst-size>65535</burst-size>
</limits>
<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>./</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<!-- <pidfile>./icecast.pid</pidfile> -->
<!-- Aliases: treat requests for 'source' path as being for 'dest' path
May be made specific to a port or bound address using the "port"
and "bind-address" attributes.
-->
<!--
<alias source="/foo" dest="/bar"/>
-->
<!-- Aliases: can also be used for simple redirections as well,
this example will redirect all requests for http://server:port/ to
the status page
-->
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<!-- <playlistlog>playlist.log</playlistlog> -->
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
<!-- If logarchive is enabled (1), then when logsize is reached
the logfile will be moved to [error|access|playlist].log.DATESTAMP,
otherwise it will be moved to [error|access|playlist].log.old.
Default is non-archive mode (i.e. overwrite)
-->
<!-- <logarchive>1</logarchive> -->
</logging>
<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
-->
</security>
</icecast>
|
the rest is "commented away"
and yes, the ports in the router/modem is open and forwared to the specified ip... shoutcast worked so thats not an issue... |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Jan 05, 2006 9:41 pm Post subject: |
|
|
| didn't include the password section due to obvius reasons |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jan 06, 2006 1:04 am Post subject: |
|
|
If the source client and web browser can connect to the server then it's not a routing or firewall issue, so connect should be fine. From your description it sounds like your requesting an m3u and that m3u is wrong, which it would be if you don't have <hostname> set and the player has an sent incomplete Host header. Try adding the <hostname> to your xml
karl. |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Jan 06, 2006 6:25 am Post subject: |
|
|
i actually had that included with my dns-name
| Code: |
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>smash.*******.com</hostname>
|
|
|
| Back to top |
|
 |
Guest
|
Posted: Fri Jan 06, 2006 6:26 am Post subject: |
|
|
| and what happenes with winamp is that it count 20%,40%,60%,80%, and then it skips to the next song on the playlist... so it seems like it buffers, and then it can't "get" the stream or something like that... |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Jan 06, 2006 9:08 am Post subject: |
|
|
oki, nevermind this post... i checked with my own laptop from the internett-connection at work, and here it works fine... probably just stupid ppl who were testing with/for me last night...
thanx for any possible awnsers anyway... |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jan 06, 2006 2:49 pm Post subject: |
|
|
If you're getting data to the player and it doesn't start playback then it's probably because the player does not have the right codec. A typical example would be the lite version of winamp trying to play an ogg stream.
karl |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Jan 06, 2006 3:04 pm Post subject: |
|
|
i were useing the lame_mp3.dll (or something) as codec... on my laptop did it work properly  |
|
| Back to top |
|
 |
|