作者tingyun60426 (白痴兼傻呆)
看板WebRadio
标题[问题] 限制人数?
时间Sun Aug 12 09:19:31 2007
请问icecast要怎样限制人数呀?
我已经改六人了,别人还连得进来!!
<mount>
<mount-name>/leonyun</mount-name>
这就是重头戏了,限制人数。我也是前几天才明白,
原来是要针对每一个mount做设定。
<max-listeners>2</max-listeners>
<max-listener-duration>3600</max-listener-duration>
这不知要怎用?
<username>username</username>
<password>password</password>
原来这是把要播放的档案放到icecast2的web资料夹中
<intro>/.....</intro>
这个板上有某大写教学,惭愧,我现在才悟出来…… XDDD
<fallback-mount>/pop_music</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<public>0</public>
<charset>Big5</charset>
<hidden>1</hidden>
同以下说明。
<stream-name>My audio stream</stream-name>
<stream-description>My audio description</stream-description>
<stream-url>
http://some.place.com</stream-url>
下面这一个,我没用。因为在dj端就能设定了。
除非有必要,才会设。
<genre>classical</genre>
<bitrate>64</bitrate>
<type>application/ogg</type>
<subtype>vorbis</subtype>
<burst-size>65536</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>
这一行不知道…… = w =
<on-connect>/home/icecast/bin/source-start</on-connect>
<on-disconnect>/home/icecast/bin/source-end</on-disconnect> -->
</mount>
就这样!!不知版上有没有人用icecast呀?感谢!! m(_ _)m
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 122.127.67.117
1F:推 Tingyutony:找一行<clients>???</clients> 改一下看看 08/12 19:14
2F:推 tingyun60426:踢踢歪大也有玩过icecast喔!! 08/12 19:26
3F:推 Tingyutony:有耶 哈哈 08/12 20:24
4F:推 tingyun60426:以後就要麻烦你多多指教啦!! 08/12 21:01
※ 编辑: tingyun60426 来自: 218.170.163.144 (07/25 22:34)