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 Compat using / across 2 ports

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



Joined: 02 Dec 2009
Posts: 9

PostPosted: Wed Dec 02, 2009 9:06 pm    Post subject: Shoutcast Compat using / across 2 ports Reply with quote

Currently I'm running two Shoutcast servers one using port 8199 and the other using port 8201. The url to access each of these streams via Winamp would be http://www.myhost.com:8199 and http://www.myhost.com:8201.

I would like to replace these two servers with a single ICECast server (windows) but keep the transition transparent to my users. IE sources don't know it changed as well as listener url's not changing.

I'm sure I've read the answer 20 times, but it's just not registering with me. Please find below my existing config which throws an error of duplicate mount point.

Any help would be appreciated. Very Happy

<icecast>
<limits>
<sources>2</sources>
</limits>
<authentication>
<source-password>biteme</source-password>
<relay-password>biteme</relay-password>
<admin-user>admin</admin-user>
<admin-password>biteme</admin-password>
</authentication>

<hostname>localhost</hostname>
<listen-socket>
<port>8199</port>
<shoutcast-mount>/</shoutcast-mount>
</listen-socket>

<listen-socket>
<port>8201</port>
<shoutcast-mount>/</shoutcast-mount>
</listen-socket>

<fileserve>1</fileserve>

<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/status" 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>
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Dec 02, 2009 9:22 pm    Post subject: Reply with quote

If you are trying to do both these streams on one icecast at the same time then you will need to have different mountpoints but you can still work it so that your existing URLs will work.

assuming 8199 shoutcast-mount stays as /, then you'll need to changed 8201 shoutcast-mount to something else eg /other. With this then host:8199/, host:8199/other, host:8201/ and host:8201:/other will get those streams. To get host:8201/ to retrieve the /other stream then you need an alias like you have for /status but you just need to be more specific ie

<alias source="/" port="8201" destination="/other" />

A request for / on port 8199 will not match this.

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