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 

Shoutcast Relay

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



Joined: 30 Dec 2009
Posts: 10
Location: Toronto, ON, Canada

PostPosted: Tue Jan 05, 2010 1:39 am    Post subject: Shoutcast Relay Reply with quote

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 05, 2010 2:19 am    Post subject: Reply with quote

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



Joined: 30 Dec 2009
Posts: 10
Location: Toronto, ON, Canada

PostPosted: Tue Jan 05, 2010 2:27 am    Post subject: Reply with quote

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 05, 2010 2:39 am    Post subject: Reply with quote

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



Joined: 30 Dec 2009
Posts: 10
Location: Toronto, ON, Canada

PostPosted: Tue Jan 05, 2010 3:13 am    Post subject: Reply with quote

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 05, 2010 3:44 am    Post subject: Reply with quote

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



Joined: 30 Dec 2009
Posts: 10
Location: Toronto, ON, Canada

PostPosted: Tue Jan 05, 2010 4:49 am    Post subject: Reply with quote

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 05, 2010 1:26 pm    Post subject: Reply with quote

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