| View previous topic :: View next topic |
| Author |
Message |
calmradio
Joined: 30 Dec 2009 Posts: 10 Location: Toronto, ON, Canada
|
Posted: Tue Jan 05, 2010 1:39 am Post subject: Shoutcast Relay |
|
|
I need help on setting up a shoutcast relay. No-go so far.
In the server.config file....there is a commented-out notation:
<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required
<shoutcast-mount>/live.nsv</shoutcast-mount>
-->
Do I simply need to set a mountpoint using this? /live.nsv
OR
set another mountpoint as
<mountpoint>/live.nsv</mountpoint>
I am using Centovacast as my panel, it simply asks me for server and port |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 05, 2010 2:19 am Post subject: |
|
|
not sure which way you mean, to relay a shoutcast stream, you use a relay section with the mount as / and local mount as you want on icecast. To get shoutcast to relay an icecast stream then you need to make the stream available on a mountpoint named / which could done via an alias. The shoutcast-mount options are used when a shoutcast-style source client connects, as they do not supply a mountpoint.
karl. |
|
| Back to top |
|
 |
calmradio
Joined: 30 Dec 2009 Posts: 10 Location: Toronto, ON, Canada
|
Posted: Tue Jan 05, 2010 2:27 am Post subject: |
|
|
Hi Karl
I setup a mountpoint as:
<mount cc="shoutcast">
<mount-name>/</mount-name>
<intro></intro>
<fallback-mount>/live</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<no-yp>1</no-yp>
</mount>
Still no-go. is that correct? the mountname simple as "/" |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 05, 2010 2:39 am Post subject: |
|
|
You still haven't made clear what you intend to do. A mount only specifies some stream settings for a particular mountpoint, you still haven't said what the problem is exactly, what is "still no-go"?
karl. |
|
| Back to top |
|
 |
calmradio
Joined: 30 Dec 2009 Posts: 10 Location: Toronto, ON, Canada
|
Posted: Tue Jan 05, 2010 3:13 am Post subject: |
|
|
Sorry I'm not communicating clearly.
I have a master icecast server IP + port 8100 (un-authenticated) that is used by other relays. One of the other relays is a shoutcast stream.
The master has /stream as it's mountpoint. I have set the shoutcast relay to the master IP and port 8100
Upon further reading, I see "multiple listener elements" which you would add another listen socket.
Should I set it this way?
<listen-socket>
<port>8100</port>
<bind-address>69.175.86.58</bind-address>
</listen-socket>
<listen-socket>
<port>8101</port>
</listen-socket>
Thanks for your help Karl
Eric |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 05, 2010 3:44 am Post subject: |
|
|
First thing to understand, a shoutcast relaying a stream is not a source client (it's a listener), so don't confuse the relaying part with a shoutcast source client requiring 2 ports. A single port would work however the shoutcast will be requesting / as the mountpoint, so either the stream needs be named / (and not /stream) or you need to alias / to /stream. Normally for icecast, / to mapped to /status.xsl (with alias) so you get a web page so if you want to keep that on port 8100 then I would suggest allocating another port/bind-address to map / to /stream so that the shoutcast relay will work.
eg
<alias source="/" port="8100" dest="/status.xsl"/>
<alias source="/" port="8101" dest="/stream"/>
karl. |
|
| Back to top |
|
 |
calmradio
Joined: 30 Dec 2009 Posts: 10 Location: Toronto, ON, Canada
|
Posted: Tue Jan 05, 2010 4:49 am Post subject: |
|
|
After playing around it simply required me adding only:
<alias source="/" port="8100" dest="/stream"/>
Also made sure the adjacent port 8101 was clear.
I pointed the relay to port 8100
___________________
I couldn't get both aliases to work as such:
<alias source="/" port="8100" dest="/status.xsl"/>
<alias source="/" port="8101" dest="/stream"/>
Am I okay in this manner Karl?
Once again, I can't thank you enough.
Eric |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 05, 2010 1:26 pm Post subject: |
|
|
sounds like you are all sorted. The double alias was only to allow for retrieving different content depending on the port requested.
karl. |
|
| Back to top |
|
 |
|