View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Fri Nov 16, 2007 10:49 am Post subject: Migrating win32:Shoutcast to linux:icecast |
|
|
Hi Guys,
i am trying to migrate an multi stream shoutcast Server to a new icecast installation.
The scenario is the following:
server:8000/listen.pls -> Stream1
server:8050/listen.pls -> Stream2
server:8100/listen.pls -> Stream3
(...)
I configured my source client so that the streams are delivered to icecast on the correct ports but icecast ist broadcasting every stream on evere port usig the correct mount-point:
server:8000/stream1 -> Stream1
server:8050/stream1 -> Stream1
server:8100/stream1 -> Stream1
I need a setup with the old "links" cause some hardware devices are configured with the stream urls.
Anybody has an idea? |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Fri Nov 16, 2007 11:17 am Post subject: versions: |
|
|
ices 0.4 (i need a pure mp3 streaming, with working id3tags)
icecast 2.3.1
OS: Red Hat Enterprise 4 |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Nov 16, 2007 2:10 pm Post subject: |
|
|
Use the alias mechanism to redirect incoming requests. You can specify a port setting within alias if you wish. It should also work fine for files like listen.pls
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Fri Nov 16, 2007 3:16 pm Post subject: declare alias: |
|
|
this works without any problem:
<alias source="/listen" dest="/stream1" port="8000"/>
but,
<alias source="/listen.pls" dest="/stream1" port="8000"/>
returns a listen.pls.mp3 from the stream which the client tries to download. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Nov 16, 2007 3:50 pm Post subject: |
|
|
The second one is confusing. Isn't /stream1 supposed to be a stream and /listen.pls supposed to be a playlist?, if so then you cannot alias one to the other as they are different.
I would of thought you'd want something like a listen-stream1.pls file in webroot and then use an alias like
<alias source="/listen.pls" dest="/listen-stream1.pls" port="8000"/>
you can then add others like
<alias source="/listen.pls" dest="/listen-stream2.pls" port="8050"/>
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Fri Nov 16, 2007 4:52 pm Post subject: thanks |
|
|
you were right.
adding some pls for everry stream and aliasing to them worked fine.
the clue is, that i am able to drop all ports except for rewriting the connections.
so in the future we can drop all high ports.
thank you |
|
Back to top |
|
|
|