| View previous topic :: View next topic |
| Author |
Message |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Mon May 24, 2010 4:15 pm Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon May 24, 2010 6:39 pm Post subject: |
|
|
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 |
|
 |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Mon May 24, 2010 8:17 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
m3gab0y
Joined: 15 Aug 2009 Posts: 47 Location: London, UK
|
Posted: Tue May 25, 2010 7:55 pm Post subject: |
|
|
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 You must have this in mind first
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
I'm using this methood on a huge private server and no complaints so far  |
|
| Back to top |
|
 |
|