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 

Fallback on another stream server

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Thu Nov 01, 2007 7:09 pm    Post subject: Fallback on another stream server Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Nov 02, 2007 12:01 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Mon Feb 25, 2008 5:31 pm    Post subject: you mean the playlist on the relay? Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 25, 2008 6:58 pm    Post subject: Reply with quote

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
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 -> Feature Requests 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