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 

Help to config relay from three shoutcast server, please!

 
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: Thu Aug 24, 2006 10:32 am    Post subject: Help to config relay from three shoutcast server, please! Reply with quote

I used shoutcast server, but i had to launch three copies of .exe, every with it own config.
I was advised that icecast can releay from two shoutcast servers. I've read docs but it doesn't helped me to understand the idea in making right config.

I have three servers:
http://213.184.232.36:9000/listen.pls
http://213.184.232.36:8000/listen.pls
http://213.184.232.42:8000/listen.pls
All of them are relay shoutcast streams.

LAN config is:
server ip: 10.1.3.100
LAN mask 255.0.0.0

I'm not sure if you really need network settings, but...

Please, post here the config that will help to solve the problem.
Thank you!
Back to top
Anonymous
Guest





PostPosted: Thu Aug 24, 2006 10:36 am    Post subject: Reply with quote

What do you want to do exactly?
a) to replace your three SHOUTcast servers by running one ICEcast with three mountpoints
or
b) to keep the SHOUTcast Servers and run an additional ICEcast which relays the three SHOUTcast

Regards, Adam
Back to top
Anonymous
Guest





PostPosted: Thu Aug 24, 2006 11:24 am    Post subject: Reply with quote

2nd. The SHOUTcast servers belong to my ISP and I want to make relay in my LAN.
And one more - the main thing to chang shoutcast to icecast - ability to stop downloading stream if trere are now active listeners/.
Back to top
Anonymous
Guest





PostPosted: Thu Aug 24, 2006 11:42 am    Post subject: Reply with quote

"stop downloading stream if trere are now active listeners"?

You can configure in SHOUTcast ("ListenerTimer") and in ICEcast (in mountpoint section "max-listener-duration") the max. connect duration of a listener. After that periode (e. g. 3 hours) he's disconnected by the server and must connect manually again to listen for the next 3 hours.

Or do you mean to keep clients with stream ripper, sr-POSIX away rom your stream? This you can only do, if you are running a script, which looks for example each two minutes on the clients table and the conneted players and kick an user if the used a player you have marked for kick, but that more an bash or PHP issue.

Regarding your relay config I will reply separately.
Back to top
Anonymous
Guest





PostPosted: Thu Aug 24, 2006 11:57 am    Post subject: Reply with quote

I want icecast (or shoutcast if it's posible) to stop loading bandwidth (is it correct word?) if nobody is listening to relaying server (my server).
Back to top
Anonymous
Guest





PostPosted: Thu Aug 24, 2006 12:07 pm    Post subject: Reply with quote

Here a running demo relay configuration of your three SOUTcast:

-- link deleted --

You will see only one ICEcast on Port 8000 is active and your three Radios
are separated by mountpoints:
/aichyna
/edgerocks
/unistar

The three <mount> sections with same mount-name as the local-mount form the <relay>-section are not really necessary, but they are recommended, only in that way you can set the max. listener count per mount point and also limit the max. connect duration.

Here the config file extract:

-- link deleted --

I will shutdown the ICEcast in few hours, after you have checked it.


Last edited by Anonymous on Thu Aug 24, 2006 7:03 pm; edited 1 time in total
Back to top
Anonymous
Guest





PostPosted: Thu Aug 24, 2006 12:14 pm    Post subject: Reply with quote

the_ghost wrote:
I want icecast (or shoutcast if it's posible) to stop loading bandwidth (is it correct word?) if nobody is listening to relaying server (my server).


no prbolem:

Change under relay-section the paramter<on-demand> to 1 (now 0) and the ICEcast will only fetch the stream form SHOUTcast if you have a conencted listener to your ICEcast.

What about reading the DOCs on icecast.org Smile)?

Regards, Adam
Back to top
Anonymous
Guest





PostPosted: Thu Aug 24, 2006 4:37 pm    Post subject: Reply with quote

Thanks a lot. About reading docs on site - i've read, honestly. But didn't understand the main idea - how to make some relays. Now, i think, i've got it Smile Embarassed
And another one question - is it nessesary to different stations with the help of some kinds of directories? I mean '/aichyna' or '/edgerocks'. Earlier in SHOUTcast to allow 3 stations per server (one IP) I used different ports. The example of this way was in the first my post.
Can icecast use different ports, like it was in SHOUTcast?
Please, don't kill your example for some more hours... Rolling Eyes
Back to top
Anonymous
Guest





PostPosted: Thu Aug 24, 2006 4:56 pm    Post subject: Reply with quote

Of cause ICEcast can listen on several ips and ports, but I don't understand why you want do that. Try to understand the meaning of the mountpoint idea, which is used to differ your radiostations.

If you want to use that mounts later for live streaming you can add
<password>streampass</password> each <mount>-section to limit the access to that mountpoint

Add additional listen-sockets, e. g.

<listen-socket>
<bind-address>80.252.108.242</bind-address>
<port>9000</port>
</listen-socket>

<listen-socket>
<bind-address>80.252.108.243</bind-address>
<port>8000</port>
</listen-socket>

Your three moutpoionts would now be also accessible over that IPs and Ports.
Back to top
Anonymous
Guest





PostPosted: Thu Aug 24, 2006 6:48 pm    Post subject: Reply with quote

Ok, kleinadam, I agree with you that the system of differing is nice. I asked only 'cos I used to use ports Smile

Now I'm going to translate to russian web-interface.
Thank you a lot for paid attention!
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