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 

Mouts with a fall back

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



Joined: 21 Aug 2008
Posts: 8

PostPosted: Thu Aug 21, 2008 3:42 am    Post subject: Mouts with a fall back Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Aug 21, 2008 1:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
1045freshfm



Joined: 21 Aug 2008
Posts: 8

PostPosted: Thu Aug 21, 2008 1:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Aug 21, 2008 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
1045freshfm



Joined: 21 Aug 2008
Posts: 8

PostPosted: Thu Aug 21, 2008 7:52 pm    Post subject: Reply with quote

whats level 4 ????

and how can it be full with 1999 listener base and its only me connected
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 Aug 21, 2008 9:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
1045freshfm



Joined: 21 Aug 2008
Posts: 8

PostPosted: Thu Aug 21, 2008 9:50 pm    Post subject: Reply with quote

i have uploaded the error log file to one of my ftp server.
[url]
http://static.ausnetservers.net.au/ICECAST/[/url]
Back to top
View user's profile Send private message
1045freshfm



Joined: 21 Aug 2008
Posts: 8

PostPosted: Thu Aug 21, 2008 9:54 pm    Post subject: Reply with quote

ok lets try again...

heres the link for the current log file is of 20 seconds ago

http://static.ausnetservers.net.au/ICECAST/error.log
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 Aug 21, 2008 11:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
1045freshfm



Joined: 21 Aug 2008
Posts: 8

PostPosted: Fri Aug 22, 2008 12:19 am    Post subject: Weird Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 22, 2008 12:52 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
1045freshfm



Joined: 21 Aug 2008
Posts: 8

PostPosted: Fri Aug 22, 2008 3:22 am    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 22, 2008 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
1045freshfm



Joined: 21 Aug 2008
Posts: 8

PostPosted: Fri Aug 22, 2008 1:52 pm    Post subject: RE: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 22, 2008 3:10 pm    Post subject: Reply with quote

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