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 

Migrating win32:Shoutcast to linux:icecast

 
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: Fri Nov 16, 2007 10:49 am    Post subject: Migrating win32:Shoutcast to linux:icecast Reply with quote

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





PostPosted: Fri Nov 16, 2007 11:17 am    Post subject: versions: Reply with quote

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Nov 16, 2007 2:10 pm    Post subject: Reply with quote

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





PostPosted: Fri Nov 16, 2007 3:16 pm    Post subject: declare alias: Reply with quote

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Nov 16, 2007 3:50 pm    Post subject: Reply with quote

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





PostPosted: Fri Nov 16, 2007 4:52 pm    Post subject: thanks Reply with quote

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