Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to setup a relay

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Sun Jun 25, 2006 2:04 am    Post subject: how to setup a relay Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jun 25, 2006 2:17 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sun Jun 25, 2006 6:08 am    Post subject: Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jun 25, 2006 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sun Jun 25, 2006 8:44 pm    Post subject: Reply with quote

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





PostPosted: Sun Jun 25, 2006 8:52 pm    Post subject: Reply with quote

..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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jun 25, 2006 9:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sun Jun 25, 2006 11:45 pm    Post subject: Reply with quote

Now working..

Thanks!

Rob
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber