View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Thu Nov 01, 2007 7:09 pm Post subject: Fallback on another stream server |
|
|
For redundancy feature, it would be nice to be able to fallback to another stream server instead of a single mountpoint on the same server. For exemple, on server http://stream1/mount.mp3, i can fallback to http://stream2/mount.mp3.
<fallback>http://stream2/mount.mp3</fallback>
something like that.
Thank you |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Nov 02, 2007 12:01 am Post subject: |
|
|
The only way that can work is if the playlist has multiple entries. We cannot redirect an active connection to some other server, we can send back a http 302 redirect but that only applies to new listeners.
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Mon Feb 25, 2008 5:31 pm Post subject: you mean the playlist on the relay? |
|
|
or the master one - sorry can't quite get my head around this one.
- I have one master server and 1 relay (relaying the same streams), and I want to redirect new listeners to the relay if a stream they try to connect to on the master is full.
Do you mean I can do that with a fallback to a mount on the master playing a playlist pointing at the relay?
If I wrote a script to intercept the connection, check if there was an available stream and then connect to it, or redirect 302 to the relay if there wasn't would that be a better solution?
I know there's a devel branch that starts to implement this, but I can't move from the current version until it's stable. If there's some coding to be done like the script above am happy to contribute it back to the fold.
Thanks! Dominic. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Feb 25, 2008 6:58 pm Post subject: |
|
|
If the player receives a playlist then you can populate that with entries from multiple servers but as soon as you are connected then the fallback can only work if the other stream is on the same server.
karl. |
|
Back to top |
|
|
|