| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Fri Jun 30, 2006 12:02 am Post subject: win32: Max listeners |
|
|
Hey folks. Let's say I want max 5 listeners on my station. How to do that?
<!-- This config file contains a minimal set of configurable parameters,
and mostly just contains the things you need to change. We created
this for those who got scared away from the rather large and heavily
commented icecast.xml.dist file. -->
<icecast>
<limits>
<sources>2</sources>
</limits>
<authentication>
<source-password>******</source-password>
<relay-password>******</relay-password>
<admin-user>admin</admin-user>
<admin-password>*****</admin-password>
</authentication>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<hostname>djmyzrael.no-ip.org</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
</icecast> |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 30, 2006 12:38 am Post subject: |
|
|
Define <max-listeners> with a value of 5 in the <mount> section for your stream. The default <clients> is about 256 so you don't need to increase that for just a limit of 5.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Jun 30, 2006 10:49 am Post subject: |
|
|
| karlH wrote: |
Define <max-listeners> with a value of 5 in the <mount> section for your stream. The default <clients> is about 256 so you don't need to increase that for just a limit of 5.
karl. |
I does not have a mount section.....where to put it? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 30, 2006 11:43 am Post subject: |
|
|
Well add one, you have have any number of them but I guess you only have 1 stream. The sample xml files and the documentation show what can by put in them but all you need is the mount name and max-listeners
karl |
|
| Back to top |
|
 |
kozlov
Joined: 26 Sep 2006 Posts: 41 Location: Poland, Gdansk
|
Posted: Tue Sep 26, 2006 3:21 pm Post subject: |
|
|
Hi there.
How to set up maximum count of listeners on entire server? I want to create few mountpoints (MP3, AAC, OGG) and I don't want to applying limit on every mountpoint, but on entire server.
Thanks for all the help. _________________ polska dokumentacja serwera Icecast2 / polish documentation of Icecast2 |
|
| Back to top |
|
 |
|