| View previous topic :: View next topic |
| Author |
Message |
1045freshfm
Joined: 21 Aug 2008 Posts: 8
|
Posted: Thu Aug 21, 2008 3:42 am Post subject: Mouts with a fall back |
|
|
Hey Guys i want to create a mout in the config file that has a username and password to be able to broadcast on it and then as we will be changing djs a lot we will need a fall back mout which has been setup on the server its self
can anyone help? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Aug 21, 2008 1:09 pm Post subject: |
|
|
It sounds like you have a plan worked out, you can use any source client for the fallback mount, just make sure it's in a similar format to the main streams.
karl. |
|
| Back to top |
|
 |
1045freshfm
Joined: 21 Aug 2008 Posts: 8
|
Posted: Thu Aug 21, 2008 1:34 pm Post subject: |
|
|
This is what i have but its not working this is inside the config file, what seems to be happing is when both sources are connected it goes stright to the fall back and wont even try the "Studio1/" mount but when the emergmout is disabled it goes to the studio1
understand what i mean so what am i doing wrong?
| Code: |
<mount>
<mount-name>/Studio1</mount-name>
<max-listeners>1999</max-listeners>
<burst-size>65536</burst-size>
<fallback-mount>/emergmount</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<hidden>1</hidden>
<no-yp>1</no-yp>
</mount>
</icecast> |
[/list] |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Aug 21, 2008 2:46 pm Post subject: |
|
|
If /Studio1 is requested by the listener then it must be full, but check the error log then you should see that various actions take place (may need level 4).
karl. |
|
| Back to top |
|
 |
1045freshfm
Joined: 21 Aug 2008 Posts: 8
|
Posted: Thu Aug 21, 2008 7:52 pm Post subject: |
|
|
whats level 4 ????
and how can it be full with 1999 listener base and its only me connected |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Aug 21, 2008 9:02 pm Post subject: |
|
|
when talking about logging and using level 4 I mean use <loglevel>4</.loglevel>
The xml fragment looks ok, but that alone is not enough to say what the issue is. Nearly every problem should involving looking at the log files to see what is going on.
karl. |
|
| Back to top |
|
 |
1045freshfm
Joined: 21 Aug 2008 Posts: 8
|
|
| Back to top |
|
 |
1045freshfm
Joined: 21 Aug 2008 Posts: 8
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Aug 21, 2008 11:53 pm Post subject: |
|
|
The first thing that stands out is that loglevel is on 2 not 4 as suggested, the second is that you xml snippet shows
<mount-name>/Studio1</mount-name>
where the log file shows
[2008-08-21 17:03:52] INFO connection/connection.c Source logging in at mountpoint "/studio1"
so it looks like you have a case mismatch.
karl. |
|
| Back to top |
|
 |
1045freshfm
Joined: 21 Aug 2008 Posts: 8
|
Posted: Fri Aug 22, 2008 12:19 am Post subject: Weird |
|
|
ok i changed it and now it wont stream i changed it at the encoder side to studio1 because it was Studio1 and now it dosent show up in the list and wont stream but the encoder will connect so then ok i went to the config file changed it to studio1 and went to the encoder and changed it to Studio1
in conclusion one has to be a capital for it to work and one needs to be lowercase they carn't be the same case
P.S Yes i added all the /'s |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Aug 22, 2008 12:52 am Post subject: |
|
|
It didn't list because you told it not to, hidden is set to 1, no mount definition for a mountpoint means it's not hidden,.use one name and stick to it.
karl. |
|
| Back to top |
|
 |
1045freshfm
Joined: 21 Aug 2008 Posts: 8
|
Posted: Fri Aug 22, 2008 3:22 am Post subject: |
|
|
| ok how come now the fall back isnt working what its doing now i its playing say 10 sends that was playing before the encoder dropped out and its not swapping over to the emergmount |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Aug 22, 2008 1:01 pm Post subject: |
|
|
you made various changes so you need to be clear on what the current situation is. The error log will report the events that are going on.
karl. |
|
| Back to top |
|
 |
1045freshfm
Joined: 21 Aug 2008 Posts: 8
|
Posted: Fri Aug 22, 2008 1:52 pm Post subject: RE: |
|
|
| basically the fall back mount is no longer working since i changed that hidden field. can i ask for someone to re do the mount script so i have the main mount and then it will revert to what ever mount when the main mount goes offline please.. i think there is something wrong with this sript that i am using |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Aug 22, 2008 3:10 pm Post subject: |
|
|
You need to describe the problem better. "fallback mount is not working" is not enough for anyone to resolve, and there is nothing to indicate a hidden flag from one mountpoint can affect the failure of another mountpoint to stream or connect or work (depending on whatever not working means). Get your fallback mount working first then add the live stream.
karl. |
|
| Back to top |
|
 |
|