View previous topic :: View next topic |
Author |
Message |
DoubleQ
Joined: 13 Apr 2008 Posts: 6 Location: Birmingham(UK)
|
Posted: Sun Jul 13, 2008 1:13 pm Post subject: create a stream cluster of multiple servers /mount /fallback |
|
|
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 |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Jul 13, 2008 4:45 pm Post subject: |
|
|
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 |
|
|
DoubleQ
Joined: 13 Apr 2008 Posts: 6 Location: Birmingham(UK)
|
Posted: Mon Jul 28, 2008 8:45 am Post subject: |
|
|
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 |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Jul 28, 2008 9:22 pm Post subject: |
|
|
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 |
|
|
|