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 

Realying Servers

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



Joined: 29 Aug 2007
Posts: 27

PostPosted: Sat Feb 18, 2012 8:16 pm    Post subject: Realying Servers Reply with quote

Hi. Assuming that I have two different remote Icecast2 servers can I use Relay settings to achieve:

A) A load balancing of listeners + auto-send extra users -when user-limit exceeds in one server- to the other server.

B) A safety net: when Server A's connection fails, Server A's listeners automatically move to Server B

Thanks
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 19, 2012 2:18 am    Post subject: Reply with quote

Not in the 2.3.2 code. I have some initial work in the kh tree to allow for some of these capabilities. A slave icecast could register with a master icecast such that listeners can, when trying to connect to the master, be redirected to the registered slave.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
WAB



Joined: 29 Aug 2007
Posts: 27

PostPosted: Sun Feb 19, 2012 10:09 am    Post subject: Reply with quote

A slave icecast could register with a master icecast such that listeners can, when trying to connect to the master, be redirected to the registered slave.

So, that means that master has to be online for the users to be redirected?
Also, if I have a master with a listener limit, when the limit is reached, listeners could be redirected to the slave, right?

A p2p icecast would be revolutionary.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 19, 2012 1:36 pm    Post subject: Reply with quote

yes, although a playlist could list more than 1 server. As I said it's only initial work

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
WAB



Joined: 29 Aug 2007
Posts: 27

PostPosted: Sun Feb 19, 2012 10:12 pm    Post subject: Reply with quote

well, the playlist idea sounds practical even if it is a bit "lazy".

So if I have to servers: 1.2.3.4.:8000 and 2.3.4.5:8000, each of them has mounpoint A and B. Ishould make a pls with two tracks for each mountpoint (e.g. 1.2.3.4.:8000/A and 2.3.4.5:8000/A).

If I get it right: whenever one server gets offline the track will be skipped to the next server (unless some other track has been loaded in between in the player). If our server is online but a listeners-limit is reached an automatic relay to the other server will take place

Correct? How can I make this playlist with muse for example?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 20, 2012 1:44 am    Post subject: Reply with quote

you have the idea. Obviously it's hard for the server to redirect a player if the connection to the server is not possible, at least the multiple entry playlist will be a possibility. As for muse I don't know, I do not use it.

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