| View previous topic :: View next topic |
| Author |
Message |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 25, 2007 11:41 pm Post subject: |
|
|
Check the www link in my profile, my directory on mediacast1 had disappeared.
karl. |
|
| Back to top |
|
 |
gee2803
Joined: 11 Aug 2006 Posts: 48
|
Posted: Mon Feb 26, 2007 7:25 am Post subject: |
|
|
| same over here |
|
| Back to top |
|
 |
Anonymous Guest
|
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Feb 27, 2007 12:03 am Post subject: Thank you guys!!! |
|
|
Wow,
I didn't expect an answer so fast!!! Thank you a lot guys! I will test this branch soon, and I will post the result here later!
Keep the vibe!!! Icecast rocks!!!
peace!
JonesBones |
|
| Back to top |
|
 |
Ant
Joined: 11 Jun 2008 Posts: 27 Location: Russia
|
Posted: Thu Sep 16, 2010 12:24 pm Post subject: |
|
|
Hi.
I use search, i read docs about:
Mount Specific Settings
Also i fount this topic.
I own one icecast server 2.3.2, with my mount on it.
I have 2 friends that decide help me and they made on their servers relay from my server.
So, i try to find some simple load balance (i don't want ask them use master slave etc).
Is it possible to have this?:
When my icecast reached some limit for some mountpoint, start to redirect new users with http 302 for example to myfriends icecast servers and mountpoints.
P.S. looks like someone have same idea:
http://www.fladi.at/2010/01/01/load-balancing-icecast-relays/
But maybe it's possible to realize it only with icecast?  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
|
| Back to top |
|
 |
Ant
Joined: 11 Jun 2008 Posts: 27 Location: Russia
|
Posted: Thu Sep 16, 2010 6:43 pm Post subject: |
|
|
Well, it looks like this http://icecast.org/docs/icecast-2.3.2/icecast2_config_file.html#relay
It's not what i'am thinking about.
Idea that i described doen't require changes on other streamers.
Let's say, on main server1 we have mountpoint for user server1/mystream
On second icecast server2 relay mountpoint called /blablablastream
On third icecast it's called /mount1
I mean other servers may have already some logic in their mountpoints names.
So i suggest that for mount on server1 i can set how much users it can handle and other servers like server2/blablablastream and server3/mount1, so when limit reached, just redirect to this servers for example by random.
I suppose this method can be used when other relay servers is not under my own control or i just don't want give any log\pass from my streamer at all. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Sep 21, 2010 1:37 am Post subject: |
|
|
The only mechanism I know of currently to achieve this using icecast alone is to use auth url on the requested mount on the kh tree. If you can determine that a redirect is required and where from the called listener_add script then return a 200 but also return a Location header. icecast takes that case to indicate that a 302 is required to be sent to the listener.
karl. |
|
| Back to top |
|
 |
|