| View previous topic :: View next topic |
| Author |
Message |
jmashore
Joined: 02 Dec 2009 Posts: 9
|
Posted: Wed Dec 02, 2009 9:06 pm Post subject: Shoutcast Compat using / across 2 ports |
|
|
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.
<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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Dec 02, 2009 9:22 pm Post subject: |
|
|
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 |
|
 |
|