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 

Is It Possible For The Stream Not To Stop?
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
meevil



Joined: 15 May 2010
Posts: 17

PostPosted: Mon May 24, 2010 4:15 pm    Post subject: Reply with quote

Ok, when a client disconnects the server now switches the listener straight over to the fallback mount:

[2010-05-24 17:04:58] INFO source/source.c Source "/stream.ogg" exiting
[2010-05-24 17:04:58] INFO source/source.c passing 1 listeners to "/lacuna.ogg"
[2010-05-24 17:04:58] DBUG source/source.c clearing source "/stream.ogg"
[2010-05-24 17:04:58] DBUG format-ogg/format_ogg.c releasing header pages
[2010-05-24 17:04:58] DBUG format-ogg/format_ogg.c freeing codecs
[2010-05-24 17:04:58] DBUG format-vorbis/format_vorbis.c freeing vorbis codec
[2010-05-24 17:04:58] DBUG source/source.c freeing source "/stream.ogg"
[2010-05-24 17:04:58] DBUG source/source.c Client added
[2010-05-24 17:04:58] INFO source/source.c listener count on /lacuna.ogg now 1



Success! xD

However, when a new source connects the server doesn't switch them back to the /stream.ogg . I looked in the log file and this is all I can find is this:

[2010-05-24 17:04:31] DBUG source/source.c Client added
[2010-05-24 17:04:31] INFO source/source.c listener count on /lacuna.ogg now 1
[2010-05-24 17:04:31] DBUG stats/stats.c update node listener_peak (1)
[2010-05-24 17:04:31] DBUG stats/stats.c update node listeners (1)
[2010-05-24 17:04:31] DBUG format/format.c processing pending client headers
[2010-05-24 17:04:31] DBUG stats/stats.c update node listeners (1)
[2010-05-24 17:04:31] DBUG stats/stats.c update node listener_connections (1)
[2010-05-24 17:04:33] DBUG stats/stats.c update node clients (2)
[2010-05-24 17:04:33] DBUG stats/stats.c update node connections (2)
[2010-05-24 17:04:33] INFO connection/connection.c Source logging in at mountpoint "/stream.ogg"
[2010-05-24 17:04:33] DBUG connection/connection.c sources count is 1
[2010-05-24 17:04:33] DBUG source/source.c Applying mount information for "/stream.ogg"
[2010-05-24 17:04:33] DBUG source/source.c YP changed to 1
[2010-05-24 17:04:33] DBUG source/source.c fallback /lacuna.ogg


This is taken from when the source connects when a listener is connected to the server, listening to the fallback mount.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon May 24, 2010 6:39 pm    Post subject: Reply with quote

In the last xml you posted, you had shown that fallback-override was not set (in such cases the listeners will not be moved in such cases) for /stream.ogg.

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



Joined: 15 May 2010
Posts: 17

PostPosted: Mon May 24, 2010 8:17 pm    Post subject: Reply with quote

I FINALLY have it working. Finally xD

Thankyou SO MUCH. It's taken a while but at least I know far more than I did when I started xD

It's much appreciated Smile
Back to top
View user's profile Send private message
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Tue May 25, 2010 7:55 pm    Post subject: Reply with quote

Find:

Code:
<mount>
<mount-name>/stream.ogg</mount-name>
<fallback-mount>/Jingle.OGG</fallback-mount>
</mount>


Add this below:

Code:

   <mount>
   <mount-name>/Jingle.OGG</mount-name>
   <hidden>1</hidden>
   </mount>


All filenames are CaSe SenSiTiVe Wink You must have this in mind first Wink
And also make sure that "Jingle.OGG" is in the "/web" directory of Icecast (Under Windows this is something like C:\Program Files\Icecast\web\"
If you are sure that the filename is correct, it's gonna work just fine Smile
I'm using this methood on a huge private server and no complaints so far Wink
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
Goto page Previous  1, 2, 3
Page 3 of 3

 
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