請問一下 為什麼我的 oddcastv2 按Connect 綠燈 只亮了一下 後來又馬上變成紅色了
一直連不上???
[教學]OGG格式網路電台架站法
版主: DearHoney
我的setting:
==========
<icecast>
<location>abc.no-ip.com</location>
//伺服器所在的位置,如果你有動態 DNS 位置,請填那個位置。
<admin>abc</admin>
//管理者名稱。
<limits>
<clients>100</clients>
//限制收聽廣播的使用者數
<sources>2</sources>
//限制來源端的數目
<threadpool>5</threadpool>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
</limits>
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>hackme</source-password>
//來源端的密碼,這個密碼將會用在 oddcastv2 中
<!-- Relays log in username 'relay' -->
<relay-password>hackme</relay-password>
//中繼站的密碼
<!-- Admin logs in with the username given below -->
<admin-user>def</admin-user>
//管理用的登入名稱
<admin-password>ghi</admin-password>
//管理用的密碼
</authentication>
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->
<hostname>abc.no-ip.com</hostname>
//伺服器名稱,請填入動態 DNS 位置
<port>8000</port>
<!--<bind-address>127.0.0.1</bind-address>-->
<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->
<relay>
//如果你要成為中繼端,那你要�]定這裡的資料
//�]為我沒玩過中繼端,所以這裡不提
<server>218.288.46.66</server>
<port>8001</port>
<mount>/foo.ogg</mount>
//注意
<local-mount>/bar.ogg</local-mount>
//注意
</relay>
<mount>
<mount-name>/example1.ogg</mount-name>
//注意
<username>othersource</username>
<password>hackmemore</password>
<!-- These next three aren't yet implemented -->
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<fallback-mount>/example2.ogg</fallback-mount>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>/usr/local/icecast</basedir>
<logdir>/usr/local/icecast/logs</logdir>
<webroot>/usr/local/icecast/web</webroot>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
<security>
<chroot>0</chroot>
<!-- <changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner> -->
</security>
</icecast>
==========
請問對嗎?
==========
<icecast>
<location>abc.no-ip.com</location>
//伺服器所在的位置,如果你有動態 DNS 位置,請填那個位置。
<admin>abc</admin>
//管理者名稱。
<limits>
<clients>100</clients>
//限制收聽廣播的使用者數
<sources>2</sources>
//限制來源端的數目
<threadpool>5</threadpool>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
</limits>
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>hackme</source-password>
//來源端的密碼,這個密碼將會用在 oddcastv2 中
<!-- Relays log in username 'relay' -->
<relay-password>hackme</relay-password>
//中繼站的密碼
<!-- Admin logs in with the username given below -->
<admin-user>def</admin-user>
//管理用的登入名稱
<admin-password>ghi</admin-password>
//管理用的密碼
</authentication>
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->
<hostname>abc.no-ip.com</hostname>
//伺服器名稱,請填入動態 DNS 位置
<port>8000</port>
<!--<bind-address>127.0.0.1</bind-address>-->
<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->
<relay>
//如果你要成為中繼端,那你要�]定這裡的資料
//�]為我沒玩過中繼端,所以這裡不提
<server>218.288.46.66</server>
<port>8001</port>
<mount>/foo.ogg</mount>
//注意
<local-mount>/bar.ogg</local-mount>
//注意
</relay>
<mount>
<mount-name>/example1.ogg</mount-name>
//注意
<username>othersource</username>
<password>hackmemore</password>
<!-- These next three aren't yet implemented -->
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<fallback-mount>/example2.ogg</fallback-mount>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>/usr/local/icecast</basedir>
<logdir>/usr/local/icecast/logs</logdir>
<webroot>/usr/local/icecast/web</webroot>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
<security>
<chroot>0</chroot>
<!-- <changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner> -->
</security>
</icecast>
==========
請問對嗎?