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 

"intro" file for End of session, or Fallback ??

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



Joined: 11 Mar 2006
Posts: 56

PostPosted: Thu May 11, 2006 12:39 am    Post subject: "intro" file for End of session, or Fallback ?? Reply with quote

Hi..
I have been setting up an Icecast server with 3 mounts.
If mount 2 or 3 is offline, it is setup to fallback to mount 1.
If Mount 1 is full, it moves to 2.

now, I have and <intro> tag setup.
What I would like to know, or request, is say an "outtro" tag, or a redirect tag, so that if a user moves from Mount 2 to 1, they know that they are being transferred. If there session is over, I'd like another announcement telling them that they've expired.

I've worked around the "outtro" by creating an m3u file on my server that calls my Icecast link, then moves to the outtro file. But, if Icecast is offline, or the connect fails, they move right to the outtro file....

If this is not possible now, is there a way to code it in the next release??
I know I'd take advantage of it, and possibly others.

Thanks!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu May 11, 2006 2:07 am    Post subject: Reply with quote

Can you clarify what you mean by an expired session?

An 'outro' setting would be hard to deal with by a terminating source as it would have to stay around to do the processing for the listeners. A fallback to a local relay of 1 may be a better approach (configured with intro) but the intro currently only kicks in once. Not something I've looked into much.

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



Joined: 11 Mar 2006
Posts: 56

PostPosted: Thu May 11, 2006 2:42 am    Post subject: Reply with quote

currently, i have the feeds setup to expire after 60 minutes...
<max-listener-duration>3600</max-listener-duration>

What you were saying about having another fallback mount would get the job done.. You could use a hidden tag, so it wouldn't show on the icecast server page... but that would still require a fallback mounting flag when the duration is over...
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu May 11, 2006 2:54 am    Post subject: Reply with quote

ah, so you mean to trigger a fallback per-listener when the max duration has been reached. Currently the listener connection is dropped. No, icecast doesn't do that, although a move could be done instead of a drop, feel free to add this to trac.xiph.org.

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



Joined: 11 Mar 2006
Posts: 56

PostPosted: Thu May 11, 2006 3:46 pm    Post subject: Reply with quote

I will add it.. but in order for it to work correctly, the intro file will need to be played each time a new mount is opened.

Right now, the intro file is only played once.
Can Icecast play a file instead of a mountpoint?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu May 11, 2006 6:50 pm    Post subject: Reply with quote

An intro will only play once because that is what it's currently configured to do. When a listener is placed onto another mountpoint it could be configured to play an another intro if certain settings are enabled. The change from disconnect listener to possible fallback trigger is more tricky as there are locking issues to consider.

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