<icecast> ? <limits> <clients>100</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>xxxxx</source-password> <relay-password>xxxxx</relay-password> <admin-user>admin</admin-user> <admin-password>xxxxx</admin-password> </authentication> <hostname>localhost</hostname> ? <listen-socket> <port>8000</port> </listen-socket> <fileserve>1</fileserve> ? <mount> <mount-name>/live</mount-name> <username>rj</username> <password>123</password> <max-listeners>50</max-listeners> <fallback-mount>/nonstop</fallback-mount> <fallback-override>1</fallback-override> <!-- <intro> /example_intro.ogg </intro> --> </mount> ? <paths> <basedir>/usr/local/share/icecast</basedir> <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>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> <logsize>10000</logsize> <!-- Max size of a logfile --> </logging> ? <security> <chroot>0</chroot> ? <changeowner> <user>icecast</user> <group>icecast</group> </changeowner> </security> </icecast>
<ices:Configuration> ? <Playlist> <File>/home/admin/www/playlist.txt</File> <Randomize>1</Randomize> <Type>builtin</Type> <Module>ices</Module> <Crossfade>1</Crossfade> </Playlist> ? <Execution> <Background>0</Background> <Verbose>0</Verbose> <BaseDirectory>/tmp</BaseDirectory> </Execution> ? <Stream> ? <Server> <Hostname>xxxxxxxxxxx</Hostname> <Port>8000</Port> <Password>xxxxxx</Password> <Protocol>http</Protocol> </Server> <Mountpoint>/nonstop</Mountpoint> <Name>Default stream</Name> <Genre>Default genre</Genre> <Description>Default description</Description> <URL>http://localhost/</URL> <Public>0</Public> <Bitrate>128</Bitrate> <Reencode>0</Reencode> <Channels>2</Channels> </Stream> </ices:Configuration>
Поток будет вещаться через флеш-плеер, правда ли то, что флеш не распознает переключения эти?
<icecast> ? <limits> <clients>100</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>xxxxx</source-password> <relay-password>xxxxx</relay-password> <admin-user>admin</admin-user> <admin-password>xxxxx</admin-password> </authentication> <hostname>localhost</hostname> ? <listen-socket> <port>8000</port> </listen-socket> <fileserve>1</fileserve> ? <mount> <mount-name>/live</mount-name> <username>rj</username> <password>123</password> <max-listeners>50</max-listeners> <fallback-mount>/nonstop</fallback-mount> <fallback-override>1</fallback-override> <!-- <intro> /example_intro.ogg </intro> --> </mount> ? <mount> <mount-name>/nonstop</mount-name> </mount> <paths> <basedir>/usr/local/share/icecast</basedir> <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>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> <logsize>10000</logsize> <!-- Max size of a logfile --> </logging> ? <security> <chroot>0</chroot> ? <changeowner> <user>icecast</user> <group>icecast</group> </changeowner> </security> </icecast>