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 

One master mountpoint relaying mountpoint-chain or fallback

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



Joined: 13 Jan 2006
Posts: 79

PostPosted: Sun Jan 22, 2006 5:59 pm    Post subject: One master mountpoint relaying mountpoint-chain or fallback Reply with quote

Is it possible to set one /Master mountpoint that relays from "chained" mountpoints and has fallback to /playlist if none exists?

/Master that relays /Mount1 and fallback to /playlist if no streams
/playlist mountpoint for Ices for example

/Mount1 fallback to /Mount2
/Mount2 fallback to /Mount3
/Mount3 fallback to /Mount4
/Mount4 fallback to /Mount1

If nobody streams to any of /MountpointX, /playlist would be streamed in /Master.
Someone streams to /Mount1, it would be relayed to /Master.
Someone starts streaming to /Mount2, and /Mount1 stops. /Master starts relaying /Mount2 because it is fallback and online, and so on for other mountpoints.

Would this work?
Or does it work for only relaying /Mount1?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jan 22, 2006 7:27 pm    Post subject: Reply with quote

having /Master as a local relay of /playlist is fine, it will also obey the fallback/override rules for /MountX. Note that /Mount1 would have to stop before /Mount2 starts, failing to do so it not a major problem, but you would have to move the listener from /Mount1 to /Mount2.

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



Joined: 13 Jan 2006
Posts: 79

PostPosted: Sun Jan 22, 2006 10:58 pm    Post subject: Reply with quote

Actually I would set /MountX's go in order 1-2-3-4-1-2-3-4 and so on, to play next mountpoint after previous has stopped.

I have been thinking of server where couple dj's would play like 2 hours at time, and listener just tunes into /Master, and if no streams available in /MountX then get some playlist from /playlist.

This probably would work better with just 2 mountpoints, but i'd like to set own mountpoint for every dj that goes in specified order.

Other solution would be timed system which would listen mountpoints for some time and switch to another and stream that to one mountpoint.
Or another dj that grabs and mixes each streams together when previous ends and next starts, and streaming that to one mountpoint.

I prefer own mountpoint for every dj and mountpoint rotation done by server.

But question is, if i set server to relay /Mount1, will it fallback /Mount2 and then /Mount3 and so on, after streaming ends for each previous mountpoint?
For example, /Mount2 has just ended streaming, /Mount3 is active.
Listener comes to /Master which actually relays /Mount1 with fallback to /Mount2. No stream in those mountpoints. Will Icecast continue checking if /Mount2 has fallback?


If i listen straight /Mount2 that has fallback to /Mount3 it works fine, but does Icecast understand this chaining, to go each mountpoint if there is stream on, while listener is listening for /Master?
Back to top
View user's profile Send private message
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