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 

Question "<fallback-when-full>" = Audio file

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



Joined: 13 Apr 2008
Posts: 6
Location: Birmingham(UK)

PostPosted: Sun Apr 13, 2008 10:01 am    Post subject: Question "<fallback-when-full>" = Audio file Reply with quote

Hi dudes at Icecast

I have been running an Icecast server for about a year
and its all up and running just fine.

But recently discovered (while reading the docs)
That it is possable when "<max-listeners>" is exceeded
to feed the overflowing (new listeners) an Audio File

Like in this example:

<mount>
<mount-name>/96k.ogg</mount-name>
<max-listeners>20</max-listeners>
<max-listener-duration>21600</max-listener-duration>
<fallback-mount>/Sorry_music_fans.ogg</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<public>1</public>
<type>application/ogg</type>
<subtype>vorbis</subtype>
<hidden>0</hidden>
<no-yp>0</no-yp>
</mount>

Now, for me it is not easy to test this configeration
and would like to ask that if the audio file " Sorry_music_fans.ogg " is present in Icecast root,
and read permission is set correctly.

Will it be played to client(s) exceeding "<max-listeners>20" ?

Or do I need to specify the link to the audio file in a separate <mount> point. ?


Also: with " <fallback-override>1</fallback-override> " enabled
would a client being fed the overflow audio file,
be automatically moved to the live stream,
if the live-stream listener count falls below "<max-listeners>20" ?





Regards Double Q

www.swansong-webradio.co.uk
Back to top
View user's profile Send private message MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Apr 13, 2008 3:28 pm    Post subject: Reply with quote

yes they will be automatically moved if max listeners is reached but the file is relative to webroot not icecast root. The override does not apply when listeners < max-listeners, only when the source reconnects does that get performed.

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



Joined: 13 Apr 2008
Posts: 6
Location: Birmingham(UK)

PostPosted: Sat Apr 19, 2008 6:15 am    Post subject: Reply with quote

Thanks for that karlH

I discovered that if the fallback file is present in / [root]
Not correctly located in /web

Then Icecast see's it as a source feed
and transmit's the fallback-file instantly
with no external uplink of feed possable

Many thanks for answer

Regards 2xQ (SwanSong WebRadio)
Back to top
View user's profile Send private message MSN Messenger
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