View previous topic :: View next topic |
Author |
Message |
ns4u
Joined: 13 Sep 2009 Posts: 6
|
Posted: Sun Sep 13, 2009 2:34 am Post subject: What's wrong with my stream? |
|
|
I'm a little lost now... The server says it's running, the shoutcast DSP is communicating with icecast server perfectly but when I try to listen to the stream it does not work...
STREAM URL: http://94.23.217.59:9051/live.nsv
Icecast Config File:
Code: |
<!-- This config file contains a minimal set of configurable parameters,
and mostly just contains the things you need to change. We created
this for those who got scared away from the rather large and heavily
commented icecast.xml.dist file. -->
<icecast>
<limits>
<sources>2</sources>
</limits>
<authentication>
<source-password>****</source-password>
<relay-password>****</relay-password>
<admin-user>ns4u</admin-user>
<admin-password>****</admin-password>
</authentication>
<hostname>localhost</hostname>
<listen-socket>
<port>9051</port>
<shoutcast-compat>1</shoutcast-compat>
<shoutcast-mount>/live.nsv</shoutcast-mount>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
</icecast>
|
What am I doing wrong here??? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 12:24 pm Post subject: |
|
|
whoever told you to use shoutcast-compat and shoutcast-mount within the same listen-socket is wrong. Drop the shoutcast-compat tag or else you won't get listeners connected.
karl. |
|
Back to top |
|
|
ns4u
Joined: 13 Sep 2009 Posts: 6
|
Posted: Sun Sep 13, 2009 1:00 pm Post subject: |
|
|
but when i took out the <shoutcast-compat> the shoutcast DSP won't connect with Icecast server it just says "Receiving Authorization Response" and then keeps trying to reconnect...
Then I tried the opposite, keeping <shoutcast-compat> and removing the <shoutcast-mount> tags and still doesn't work.
What am I doing wrong? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 1:14 pm Post subject: |
|
|
in 2.3.2, in the way I described, the shoutcast-mount defines port 9051 as a http style port and 9052 as the port that the dsp connects on. Even if you really wanted to define shoutcast-compat then it's on the wrong port.
karl. |
|
Back to top |
|
|
ns4u
Joined: 13 Sep 2009 Posts: 6
|
Posted: Sun Sep 13, 2009 1:21 pm Post subject: |
|
|
Ok I'm still a little confused... I switched to ports 8000 and 8001 but still it doesn't work.
Could it be with the fact that I'm using NULL Output plugin in Winamp? I would guess not because the DSP handles the encoding of the sound and it had no trouble when I used the ShoutCast DNAS server so it can't be that (I don't think) |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 1:40 pm Post subject: |
|
|
start with the basics and work up. assuming you have port 8000 set with shoutcast mount /live.nsv. Before starting the source client, can you access the status page with your browser. if so then connect the source client and check the status page again.
All I can say at the moment is that http://ip:8000 is not accessible from here.
karl. |
|
Back to top |
|
|
ns4u
Joined: 13 Sep 2009 Posts: 6
|
Posted: Sun Sep 13, 2009 2:04 pm Post subject: |
|
|
@KarH,
Thanks but I really am still lost. I do not have a shoutcast example config file... Is that supposed to be somewhere in the Icecast 2.3.2 installation package? I don't see any XML or XSL config examples besides what comes with it.
Do I need to set up relays? I don't understand what's missing. If anyone could give me an example config set up for Shoutcast I can just change the variables to match my server/port/etc.
If anyone could help, it would be great! Thanks |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 2:28 pm Post subject: |
|
|
The sample we ship is in the conf directory. The configuration is minor, just the <listen-socket> with a shoutcast-mount and port is all you need for icecast. Obviously any NAT or firewall needs to allow those ports if required but that is outside of any icecast setup.
There are no relays to setup for this to work, but make sure you have the xml parts I've specified and restart icecast to make sure the settings are read, also check the error log for any details. Does the status page show, what does the logs report, these are all simple things you can check for.
karl. |
|
Back to top |
|
|
|