При создании онлайн-радио по моей схеме нужно уделить особое внимание настройкам сервера icecast.
Первое, что нужно сделать – стереть все из конфига и писать свое.
<icecast>
<limits>
<clients>200</clients>
<sources>5</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>parol</source-password>
<relay-password>parol2</relay-password>
<admin-user>username</admin-user>
<admin-password>password3</admin-password>
</authentication>
<hostname>ip-adress</hostname><listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>1</fileserve><mount>
<mount-name>/test</mount-name>
<charset>UTF-8</charset>
<fallback-mount>/main</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount><mount>
<mount-name>/main</mount-name>
<charset>UTF-8</charset>
<fallback-mount>/rotation</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount><mount>
<mount-name>/rotation</mount-name>
<charset>UTF-8</charset>
</mount><paths>
<logdir>/var/log/icecast</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>0</loglevel>
<logsize>100</logsize>
</logging><security>
<chroot>0</chroot>
<changeowner>
<user>username</user>
<group>group</group>
</changeowner>
</security></icecast>