| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sun Jun 25, 2006 2:04 am Post subject: how to setup a relay |
|
|
How do I setup a relay? I tried to setup a relay that was a shoutcast and it failed.
Any suggestions?
(this is windows xp)
Rob |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Jun 25, 2006 2:17 am Post subject: |
|
|
To relay an existing stream just configure the <relay> group (and possibly a <mount> group). You will need to identify the server, port and mount at the very least although shoutcast tends to use / as the mountpoint whereas / on icecast is an alias to the status.xsl page. A local-mount setting can come in useful.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Jun 25, 2006 6:08 am Post subject: |
|
|
This is what I have and it doesn't work (this is a shoutcast server)
<relay>
<server>X.X.X>X>X></server>
<port>8001</port> (the port is 8000 on the shoutcast server)
<mount>/cni</mount>
<local-mount>/cni</local-mount>
<on-demand>0</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
-->
<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/example-complex.ogg</mount-name> |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Jun 25, 2006 11:44 am Post subject: |
|
|
from the snippet, I would guess that you forget that <!-- and --> mark the start and end of a comment section, ie something that should be ignored.
Why port 8001 when shoutcast is on port 8000 and I doubt the shoutcast is streaming on a mountpoint of /cni (<mount>)
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Jun 25, 2006 8:44 pm Post subject: |
|
|
Because by default it was set at 8001.
No I didn't put the IP in here in a public room for privacy.
Rob |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Jun 25, 2006 8:52 pm Post subject: |
|
|
..and it should be showing up on a relay but it's not
Again I've reset the / to nothing since shoutcast doesn't use mounts.
Global Server Stats
client_connections 19
clients 1
connections 21
file_connections 12
listener_connections 0
server Icecast 2.3.1
server_start Sun, 25 Jun 2006 15:49:22 Central Standard Time
source_client_connections 0
source_relay_connections 0 <<<<<
source_total_connections 0
sources 0
stats 0
stats_connections 0
and here is how i have it:
<!--
<relay>
<server>216.234.X.X</server>
<port>8000</port>
<mount>/</mount>
<local-mount>/cni</local-mount>
<on-demand>0</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay> |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Jun 25, 2006 9:18 pm Post subject: |
|
|
again you missed the main point I mentioned, read up on how you specify comments in xml
<!--
Yes everything in here is really ignored, even if it is a valid set
of tags for icecast relays
-->
If you comment out the relay section out of the xml file then icecast won't know about it and therefore not start it.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Jun 25, 2006 11:45 pm Post subject: |
|
|
Now working..
Thanks!
Rob |
|
| Back to top |
|
 |
|