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 

create a stream cluster of multiple servers /mount /fallback

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



Joined: 13 Apr 2008
Posts: 6
Location: Birmingham(UK)

PostPosted: Sun Jul 13, 2008 1:13 pm    Post subject: create a stream cluster of multiple servers /mount /fallback Reply with quote

Hi Ice'y Dudes

Everything working fine on my server

But I recall reading some were, maybe in the forum or doc's (unable to locate it again)
That it is possable to return a stream location playlist (list of streams & URLs)
as the main mount, or as the fallback mount.

If im correct about this,, would someone be good enought to direct me
to the approiate section of the documentation, or previous [tread] post..
(an example would also be handy)

!: what Im attempting to do is create a stream cluster of multiple servers,
interlaced with each other.

So that the 1st item in the [returned[ playlist
would be the live-stream
and the others a list of locations/URL's [other servers] were simucasts are located.

The idea being, that if for any reason the "live-stream" is full or off-air
the clients player will in turn, attempt to connect to the [simucast] server streams.. !!


Regards 2xQ ( Double Q )
SwanSong Web'Radio [ http://www.swansong-webradio.co.uk ]
Back to top
View user's profile Send private message MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jul 13, 2008 4:45 pm    Post subject: Reply with quote

This would depend on what the setup was exactly. icecast cannot generate a playlist containing entries it knows nothing about, but you can provide your own playlists. If you are relaying all these streams then an xsl could be crafted to show all the stream links on your server. The YP could be used if it's a cluster of the same content by different servers, I even have some initial work on master/slave load sharing in my branch work.

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



Joined: 13 Apr 2008
Posts: 6
Location: Birmingham(UK)

PostPosted: Mon Jul 28, 2008 8:45 am    Post subject: Reply with quote

Ok karlH

Thanks for your answer.

Maybe much better if I provide an example..

in example here
there are 3 streaming servers, each located at different site's.
And each simucasting identical content.

The servers are:
66.100.200.1
77.100.200.2
88.100.200.3

Each has an uplink stream named "/live.ogg"


Each has a fallback file named "/redirect.pls"

The content of "redirect.pls" on server(1) " 66.100.200.1" is
a list of ALL stream locations/urls, with self url last

http://77.100.200.2/live.ogg
http://88.100.200.3/live.ogg
http://66.100.200.1/live.ogg

On server (2), is same list, but own URL last.
and again for server (3)


----------------------------------------
Now what I hope will happen is

If a new listener attempts to connect to any server that has reached "<max-listeners>"
that they will be served file "/redirect.pls"

and depending on player playback settings (ie normal, random, etc)
This new listeners player will attempt to connect to each URL in the .pls list in turn.

That is my question


Regards Double Q
SwanSong Web-Radio ( Party until you drop )
Back to top
View user's profile Send private message MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jul 28, 2008 9:22 pm    Post subject: Reply with quote

you don't fallback to a playlist as a playlist is different from an audio stream. new listener redirection only works at the beginning of the connection so the fallback mechanism is not suited to that. Each server can provide a playlist as a pre-made file but maving something like that automatically made is still a work in progress.

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