| View previous topic :: View next topic |
| Author |
Message |
mmarulanda
Joined: 25 Mar 2010 Posts: 7
|
Posted: Thu Mar 25, 2010 11:28 pm Post subject: burst-size don't work |
|
|
How do I limit the ice-bitrate, presumably with the burst-size is limited, but not working.
this is my XML
| Code: |
<icecast>
<limits>
<clients>200</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<source-password>xxxxxx</source-password>
<relay-password>xxxxxx</relay-password>
<admin-user>xxxxxx</admin-user>
<admin-password>xxxxxx</admin-password>
</authentication>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>10</yp-url-timeout>
<yp-url>http://openradiodirectory.org/yp.php</yp-url>
</directory>
<hostname>www.masltda.com</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>1</fileserve>
<mount>
<mount-name>/tumundofm.mp3</mount-name>
<password>xxxxxx</password>
<max-listeners>100</max-listeners>
<!-- <max-listener-duration>3600</max-listener-duration> -->
<!-- <dump-file>/tmp/dump-example1.ogg</dump-file> -->
<!-- <intro>/intro.ogg</intro> -->
<!-- <fallback-mount>/example2.ogg</fallback-mount> -->
<!-- <fallback-override>1</fallback-override> -->
<!-- <fallback-when-full>1</fallback-when-full> -->>--
<public>1</public>
<stream-name>Mundo89</stream-name>
<stream-description>Mundo89 Tu Emisora</stream-description>
<stream-url>http://www.tumundofm.com</stream-url>
<genre>crossover</genre>
<bitrate>24</bitrate>
<type>application/ogg</type>
<subtype>vorbis</subtype>
<hidden>1</hidden>
<burst-size>32768</burst-size>
<mp3-metadata-interval>4096</mp3-metadata-interval>
<!-- <authentication type="htpasswd"> -->
<!-- <option name="filename" value="myauth"/> -->
<!-- <option name="allow_duplicate_users" value="0"/> -->
<!-- </authentication> -->
<!-- <on-connect>/home/icecast/bin/source-start</on-connect> -->
<!-- <on-disconnect>/home/icecast/bin/source-end</on-disconnect> -->
</mount>
<mount>
<mount-name>/lacantina.mp3</mount-name>
<password>xxxxxx</password>
<max-listeners>100</max-listeners>
<!-- <max-listener-duration>3600</max-listener-duration> -->
<!-- <dump-file>/tmp/dump-example1.ogg</dump-file> -->
<!-- <intro>/intro.ogg</intro> -->
<!-- <fallback-mount>/example2.ogg</fallback-mount> -->
<!-- <fallback-override>1</fallback-override> -->
<!-- <fallback-when-full>1</fallback-when-full> -->>--
<public>1</public>
<stream-name>LA CANTINA DE SERGIO ZAPATA</stream-name>
<stream-description>MUSICA</stream-description>
<stream-url>http://www.lacantinadesergiozapata.com</stream-url>
<genre>popular</genre>
<bitrate>24</bitrate>
<type>application/ogg</type>
<subtype>vorbis</subtype>
<hidden>1</hidden>
<burst-size>32768</burst-size>
<mp3-metadata-interval>4096</mp3-metadata-interval>
<!-- <authentication type="htpasswd"> -->
<!-- <option name="filename" value="myauth"/> -->
<!-- <option name="allow_duplicate_users" value="0"/> -->
<!-- </authentication> -->
<!-- <on-connect>/home/icecast/bin/source-start</on-connect> -->
<!-- <on-disconnect>/home/icecast/bin/source-end</on-disconnect> -->
</mount>
<mount>
<mount-name>/activa</mount-name>
<password>xxxxxx</password>
<max-listeners>100</max-listeners>
<!-- <max-listener-duration>3600</max-listener-duration> -->
<!-- <dump-file>/tmp/dump-example1.ogg</dump-file> -->
<!-- <intro>/intro.ogg</intro> -->
<!-- <fallback-mount>/example2.ogg</fallback-mount> -->
<!-- <fallback-override>1</fallback-override> -->
<!-- <fallback-when-full>1</fallback-when-full> -->>--
<public>1</public>
<stream-name>ACTIVA 103.8 FM</stream-name>
<stream-description>MUSICA</stream-description>
<stream-url>http://www.activa1083fm.com</stream-url>
<genre>crossover</genre>
<bitrate>24</bitrate>
<type>application/ogg</type>
<subtype>vorbis</subtype>
<hidden>1</hidden>
<burst-size>32768</burst-size>
<mp3-metadata-interval>4096</mp3-metadata-interval>
<!-- <authentication type="htpasswd"> -->
<!-- <option name="filename" value="myauth"/> -->
<!-- <option name="allow_duplicate_users" value="0"/> -->
<!-- </authentication> -->
<!-- <on-connect>/home/icecast/bin/source-start</on-connect> -->
<!-- <on-disconnect>/home/icecast/bin/source-end</on-disconnect> -->
</mount>
<paths>
<basedir>./</basedir>
<logdir>/home/icecast/logs</logdir>
<webroot>/usr/local/share/icecast/web</webroot>
<adminroot>/usr/local/share/icecast/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 -->
<logsize>100000</logsize> <!-- Max size of a logfile -->
</logging>
<security>
<chroot>0</chroot>
</security>
</icecast>
|
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Mar 26, 2010 2:03 am Post subject: |
|
|
burst size is a measure of how many bytes are sent quickly at the start. It is not a limiter. There is a bitrate limiter (<mount> ...<limit-rate>66k</limit-rate>...) in my branch work, not in 2.3.2.
karl. |
|
| Back to top |
|
 |
|