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 

Problem with Master-slave setup..

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





PostPosted: Thu Mar 15, 2007 4:22 pm    Post subject: Problem with Master-slave setup.. Reply with quote

I have set up a master and slave on a local net work..

The problem i hav is this:

The slave will relay any mount that is set up in mater's xml file.. THis works flawlessly..

My probelm is, mou ts taht are mounted useign the global source password.. And dont have a mount defenition in the master xml file.

I wasnt the slave to relay all mounts on the mster server, those in the XML file on the master and those that are not in the file.

Just so you know, I can relay any mount in the "master.xml" file ie defined by <moun> tag.. and any not definded is not relayed..

I basicly did this to prove what i am saying.. I made a <mount> definition in the master file, the slave relayed it..

I commented it out ( restarted both servers) and the slave did not relay it.

Is this the normal functiong of it, and you have to list all mounts in the master.xml to be relayed..
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Mar 15, 2007 5:45 pm    Post subject: Reply with quote

The master streamlist is generated from mount list not the source list so that a missing source (but with an active fallback mount defined) is presented to slaves. This has a side effect of preventing non-mount defined sources from being presented which is generally not an issue as you typically want max-listeners defined at the very least. Don't forget that the global source password is used if the mount does not defined its own password.

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





PostPosted: Thu Mar 15, 2007 6:03 pm    Post subject: ok Reply with quote

ok,

Ok, from what your saying, unless the mount is listed in the master xml the slave will not pic it up.

I understand the operation of the mount, and have and use it allot. I was trying to determind if you can use the global password to provide a mount that the slave will relay. And from what you saying , if has to be defined in the master.xml to availble for relaying.

was hoping we could have on the fly mount names that would be relayed by the slaves. And what your saying is no, it has to be dfined in the master's config file..

Trying to get mount names matching up with brodcasts.. Since we do 'shows' and not 24 hour streaming.

Been reall happy with icecast server, it been a very stable platform for the 2 to 3 hours shows we broadcast.

thanks for the quick reply.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Mar 15, 2007 8:18 pm    Post subject: Reply with quote

You will need a <mount> definition for the stream to be relayed but you can still use the global source password if you don't define it within the <mount>. The problem that I think you are getting at is that the mountpoints used are not known beforehand so no definition can be made and therefore cannot be relayed.

I suspect we could allow the listing for slaves with non-mount defined streams using source reserving but it needs to be thought through more.

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