Created
November 8, 2013 14:10
-
-
Save chekalsky/7371563 to your computer and use it in GitHub Desktop.
Настройка icecast2 сервера для онлайн подкастов
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<icecast> | |
<limits> | |
<!-- Максимальное количество слушателей на весь сервер --> | |
<clients>10000</clients> | |
<!-- Максимальное количество подключённых клиентов (трансляторов) --> | |
<sources>4</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>0</burst-on-connect> | |
<burst-size>0</burst-size> | |
</limits> | |
<!-- Тут пароли для админа и трансляторов --> | |
<authentication> | |
<source-password>password1234</source-password> | |
<relay-password>password1234</relay-password> | |
<admin-user>admin</admin-user> | |
<admin-password>password1234</admin-password> | |
</authentication> | |
<!-- Настройки сервера --> | |
<hostname>stream.tjournal.ru</hostname> | |
<location>TJournal</location> | |
<admin>[email protected]</admin> | |
<!-- Порт для подключения, не забываем открыть его в iptables --> | |
<listen-socket> | |
<port>8000</port> | |
</listen-socket> | |
<fileserve>1</fileserve> | |
<paths> | |
<basedir>/usr/share/icecast2</basedir> | |
<logdir>/var/log/icecast2</logdir> | |
<webroot>/usr/share/icecast2/web</webroot> | |
<adminroot>/usr/share/icecast2/admin</adminroot> | |
<alias source="/" dest="/status.xsl"/> | |
</paths> | |
<logging> | |
<accesslog>access.log</accesslog> | |
<errorlog>error.log</errorlog> | |
<loglevel>3</loglevel> | |
<logsize>10000</logsize> | |
</logging> | |
<security> | |
<chroot>0</chroot> | |
<!-- | |
Нужно поменять! | |
<changeowner> | |
<user>nobody</user> | |
<group>nogroup</group> | |
</changeowner> | |
--> | |
</security> | |
</icecast> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment