|
論壇說明 | 標記討論區已讀 |
歡迎您來到『史萊姆論壇』 ^___^ 您目前正以訪客的身份瀏覽本論壇,訪客所擁有的權限將受到限制,您可以瀏覽本論壇大部份的版區與文章,但您將無法參與任何討論或是使用私人訊息與其他會員交流。若您希望擁有完整的使用權限,請註冊成為我們的一份子,註冊的程序十分簡單、快速,而且最重要的是--註冊是完全免費的! 請點擊這裡:『註冊成為我們的一份子!』 |
|
主題工具 | 顯示模式 |
2003-08-04, 07:32 PM | #1 |
榮譽會員
|
shoutcast relay server(轉發server)設定
; SHOUTcast Distributed Network Audio Server configuration file
; Copyright (C) 1998-2002 Nullsoft, Inc. ; All Rights Reserved. ; Last modified Jan 16 2002 ; If you want to manage multiple configurations, just copy ; this file to another name, and run sc_serv with that name ; such as: ; sc_serv.exe sc_leet.conf ; *************************** ; Required stuff ; *************************** ; MaxUser. The maximum number of simultaneous listeners allowed. ; Compute a reasonable value for your available upstream bandwidth (i.e. if ; you have 256kbps upload DSL, and want to broadcast at 24kbps, you would ; choose 256kbps/24kbps=10 maximum listeners.) Setting this value higher ; only wastes RAM and screws up your broadcast when more people connect ; than you can support. MaxUser=50 ;設定最大用戶數 ; Password. While SHOUTcast never asks a listener for a password, a ; password is required to broadcast through the server, and to perform ; administration via the web interface to this server. This server should ; consist of only letters and numbers, and is the same server your broadcaster ; will need to enter in the SHOUTcast Source Plug-in for Winamp. THIS VALUE ; CANNOT BE BLANK. Password=changeme ;設定廣播密碼,如果作relay伺服器下面還有一個密碼 ; PortBase. This is the IP port number your server will run on. The ; value, and the value + 1 must be available. If you get a fatal error when ; the DNAS is setting up a socket on startup, make sure nothing else on the ; machine is running on the same port (telnet localhost portnumber -- if you ; get connection refused then you're clear to use that port). Ports < 1024 ; may require root privledges on *nix machines. The default port is 8000. PortBase=8000 ;設定你的對外連接阜,預設還有+1.所以有防火牆的話要開8000和8001 ;如果你要開多個server..把本文件複製一份..連接阜改成其他的比如9000,然後 ;用sc_serv.exe new.conf來執行 ; *************************** ; Optional Parameters ; *************************** ; *************************** ; Logging configuration ; *************************** ; LogFile: file to use for logging. Can be '/dev/null' or 'none' ; or empty to turn off logging. The default is ./sc_serv.log ; on *nix systems or sc_serv_dir\sc_serv.log on win32. ; Note: on win32 systems if no path is specified the location is ; in the same dir as the executable, on *nix systems it is in the ; current directory. LogFile=sc_serv.log ; RealTime displays a status line that is updated every second ; with the latest information on the current stream (*nix and win32 ; console systems only) RealTime=1 ; ScreenLog controls whether logging is printed to the screen or not ; on *nix and win32 console systems. It is useful to disable this when ; running servers in background without their own terminals. Default is 1 ScreenLog=1 ; ShowLastSongs specifies how many songs to list in the /played.html ; page. The default is 10. Acceptable entries are 1 to 20. ShowLastSongs=10 ; TchLog decides whether or not the DNAS logfile should track yp ; directory touches. Adds and removes still appear regardless of ; this setting. ; Default is yes ; TchLog=yes ; WebLog decides whether or not hits to http:// on this DNAS will ; be logged. Most people leave this off because the DSP plug-in ; uses http:// calls to update titles and get the listener count, ; which takes up a lot of log space eventually. If you want to ; see people making hits on your admin.cgi or index pages, turn ; this back on. Note that this setting does NOT affect XML stats ; counters for hits to http:// pages. ; Default is no. ; WebLog=no ; W3CEnable turns on W3C Logging. W3C logs contain httpd-like accounts ; of every track played for every listener, including byte counts those listeners ; took. This data can be parsed with tools like Analog and WebTrends, or given ; to third parties like Arbitron and Measurecast for their reporting systems. ; Default is Yes (enabled). W3CEnable=Yes ; W3CLog describes the name of the logfile for W3C logging. Default logfile is ; sc_w3c.log, in the same directory wherever the DNAS gets started from. W3CLog=sc_w3c.log ; *************************** ; Network configuration ; *************************** ; SrcIP, the interface to listen for source connections on (or to make relay ; connections on if relaying). Can and usually will be ANY or 127.0.0.1 ; (Making it 127.0.0.1 will keep other machines from being able to ; broadcast using your shoutcast server ) SrcIP=ANY ; DestIP, IP to listen for clients on (and to contact yp.shoutcast.com) ; can and usually will be be ANY. If your machine has multiple IP addresses, ; set this to the one you want it to be accessed by. DestIP=ANY ; Yport, port to connect to yp.shoutcast.com on. For people behind caching ; webproxies, change this to the alternate port (666 is what it might be, ; check www.shoutcast.com if you have problems). Otherwise, leave this at 80. ; We're actively working on re-opening port 666, but as of release the only ; working port is port 80. Yport=80 ; NameLookups. Specify 1 to perform reverse DNS on connections. ; This option may increase the time it takes to connect to your ; server if your DNS server is slow. Default is 0 (off). NameLookups=0 ; RelayPort and RelayServer specify that you want to be a relay server. ; Relay servers act as clients to another server, and rebroadcast. ; Set RelayPort to 0, RelayServer to empty, or just leave these commented ; out to disable relay mode. RelayPort=8000 RelayServer=be10.ods.org ;如果你要relay我的伺服器(frank)..那麼都不要改其他的了 ;如果你要relay其他的伺服器改成對應的位址和連接阜 ;比如你要relay dj的改成9000連接阜就可以了 ; *************************** ; Server configuration ; *************************** ; AdminPassword. This password (if specified) changes the ; behavior of Password to be a broadcast-only password, and ; limits HTTP administration tasks to the password specified ; here. The broadcaster, with the password above, can still ; log in and view connected users, but only the AdminPassword ; will grant the right to kick, ban, and specify reserve hosts. ; The default is undefined (Password allows control for both ; source and admin) AdminPassword=adminpass ;你的超級用戶密碼...和樓上的密碼最大的區別是設定這個密碼後後台管理的密碼和廣播密碼就不一樣了..後台管理密碼就是這個密碼了 ; AutoDumpUsers controls whether listeners are disconnected if the source ; stream disconnects. The default is 0. AutoDumpUsers=0 ; AutoDumpSourceTime specifies how long, in seconds, the source stream is ; allowed to be idle before the server disconnects it. 0 will let the source ; stream idle indefinately before disconnecting. The default is 30. AutoDumpSourceTime=30 ; ContentDir specifies the directory location on disk of where to stream ; on-demand content from. Subdirectories are supported as of DNAS 1.8.2. ; Default is ./content, meaning a directory named content in the same directory ; as where sc_serv was invoked from. ; ContentDir=./content ; IntroFile can specify a mp3 file that will be streamed to listeners right ; when they connect before they hear the live stream. ; Note that the intro file MUST be the same samplerate/channels as the ; live stream in order for this to work properly. Although bitrate CAN ; vary, you can use '%d' to specify the bitrate in the filename ; (i.e. C:\intro%d.mp3 would be C:\intro64.mp3 if you are casting at 64kbps). ; The default is no IntroFile ; IntroFile=c:\intro%d.mp3 ; BackupFile can specify a mp3 file that will be streamed to listeners over ; and over again when the source stream disconnects. AutoDumpUsers must be ; 0 to use this feature. When the source stream reconnects, the listeners ; are rejoined into the live broadcast. ; Note that the backup file MUST be the same samplerate/channels as the ; live stream in order for this to work properly. Although bitrate CAN ; vary, you can use '%d' to specify the bitrate in the filename ; (i.e. C:\backup%d.mp3 would be C:\backup32.mp3 if you are casting at 32kbps). ; The default is no BackupFile ; BackupFile=C:\intro%d.mp3 ; TitleFormat specifies a format string for what title is sent to the listener. ; For example, a string of 'Justin Radio' forces the title 'Justin Radio' even ; when the source changes the title. You can use up to one '%s' in the string ; which lets you contain the title from the source. For example, if your ; TitleFormat is 'Justin Radio: %s', and the source plug-in's title is ; 'Billy plays the blues', then the net title is ; 'Justin Radio: Billy plays the blues'. Note: only works on non-relay servers. ; The default is no format string. TitleFormat=改成你的個性語言: %s ;title設定...改成你的個性語言 ; URLFormat specifies a format string for what url is sent to the listener. ; Behaves like TitleFormat (see above). ; The default is no format string. ;URLFormat=http://www.server.com/redirect.cgi?url=%s ; PublicServer can be always, never, or default (the default, heh) ; Any setting other than default will override the public status ; of the source plug-in or of a SHOUTcast server that is being relayed. PublicServer=default ; AllowRelay determines whether or not other SHOUTcast servers will be ; permitted to relay this server. The default is Yes. AllowRelay=Yes ; AllowPublicRelay, when set to No, will tell any relaying servers not ; to list the server in the SHOUTcast directory (non-public), provided ; the relaying server's Public flag is set to default. The default is ; Yes. AllowPublicRelay=Yes ; MetaInterval specifies how often, in bytes, metadata sent. ; You should really leave this at the default of 8192, but the option is ; provided anyway. MetaInterval=8192 ; ***************************** ; Access Control ; ***************************** ; ListenerTimer is a value in minutes of maximum permitted time for ; a connected listener. If someone is connected for longer than this ; amount of time, in minutes, they are disconnected. When undefined, ; there is no limit defined. Default is undefined. ; ListenerTimer=600 ; BanFile is the text file sc_serv reads and writes to/from ; for the list of clients prohibited to connect to this ; server. It's automatically generated via the web ; interface. ; BanFile=sc_serv.ban ; RipFile is the text file sc_serv reads and writes to/from ; for the list of client IPs which are *ALWAYS* permitted ; to connect to this server (useful for relay servers). ; This file is automatically generated via the web ; interface. Note that if your server is FULL, and someone ; from a Reserved IP connects, the DNAS will force the person ; listening for the longest time off to make room for the new ; connection. ; RipFile=sc_serv.rip ; RIPOnly, when set to Yes, will only allow IP addresses listed in the Reserved ; IP list to connect and relay. All other connections for listening will be denied. ; This is really only useful for servers whose sole purpose is to provide the ; primary feed to all public relays. Setting this value to Yes also forces the ; server into Private mode, since listing this server in the directory would ; be pointless. Default is No. ; RIPOnly=No ; ***************************** ; Extended Logging ; ***************************** ; The old features previously at this location, HistoryLog and CurrentLog, are ; no longer used and succeded by W3C Logging and XML, respectively. ; *************************** ; Mass Configuration ; *************************** ; Unique: assigns a variable name for use in any config item which points to a ; file. Useful for servers running lots of SHOUTcast servers that have similar ; configuration parameters, excepting logfile names, banfile names, etc. Any ; parameter that takes a pathname can include the character $, which will ; substitute $ for the variable assigned here. Keep in mind that the unique ; variable can only be used after it is defined, so don't try to use a unique ; variable substitution in a path before you define it. For example, you ; could set: ; Unique=my_server ; and then define Log=/usr/local/shoutcast/$.log in an included configuration ; file. Default is Unique=$, so that by default any file with $ in the name ; won't substitute anything at all. ; Include: instructs the sc_serv to read from the named configuration file, ; *at the point of insertion of the Include statement*, and process as though ; the included file was part of itself. Note that all configuration parameters ; in the DNAS config file are processed first to last, so if an item is defined ; twice in a configuration, the last item to process will be the one that takes ; effect. For this reason, it's usually a good idea to use the Includes first ; in a config file. ; example: ; Include=/usr/local/shoutcast/common.conf ; Default is not applicable. ; ***************************** ; Tweaks ; ***************************** ; ; DON'T MESS WITH THIS STUFF UNLESS YOU REALLY KNOW WHAT YOU'RE DOING. ; DON'T COMPLAIN TO US IF YOU MESS WITH IT AND THINGS BREAK. ;HAVE A NICE DAY. ; CpuCount is used to explicitly limit the DNAS to dominating a finite ; amount of processors in multiprocessor systems. By default, ; SHOUTcast creates one thread for every processor it detects in the ; host system, and assigns listeners equally across all the threads. ; In the event SHOUTcast doesn't correctly determine the number of ; CPUs in your host, or if you for whatever reason want to force ; the DNAS to not use other processors, you can say so here. ; Default behavior is to use as many processors as the DNAS detects on ; your system. ; CpuCount=1 ; Sleep defines the granularity of the client threads for sending data. ; DNAS 1.7.0, per client thread, will send up to 1,024 bytes of data ; per socket (or less depending on the window available), and then ; sleep for the provided duration before repeating the whole process. ; Note that making this value smaller will vastly increase CPU usage on ; your machine. Increasing reduces CPU, but increasing this value too far ; will cause skips. The value which seems most optimal for 128kbps ; streaming is 833 (833 microseconds per client poll) on our test labs. ; We wouldn't recommend setting it any lower than 100, or any higher than ; 1,024. If you have a slower machine, set this number lower to fix ; skips. ; Default value is 833. ; Sleep=833 ; CleanXML strips some whitespace and linefeeds from XML output which ; confuses some (poorly written) XML parsers. If you get XML rendering errors, ; try turning this on. Default is No (off). ; CleanXML=No ; ; TAG RULES 到shoutcast的老巢下windows的服務段軟體 http://www.shoutcast.com/downloads/...9-2-windows.exe 安裝執行然後修改C:\Program Files\SHOUTcast的sc_serv.ini為上面紅色的地方...仔細看..很容易的... 然後雙按sc_serv.exe 前提是你要有個動態域名.. 然後可以在ie中輸入127.0.0.1:8000進行管理了... 用http://你的動態域名:8000/listen.pls 來發佈了.. 簡單吧..一個relayserver就做好了...做好了更貼哦... |
送花文章: 3,
|
2003-08-04, 07:34 PM | #2 (permalink) |
榮譽會員
|
; SHOUTcast 分散式網路伺服器配置文件
; 1998-2002 Nullsoft公司版權所有 ; 最後一次修改是在 Jan 16 2002 ; Aska 漢化 *_^ ; 如果您想使用多個配置文件,只需將這個文件複製成其它名稱,然後按下面的方式執行: ; sc_serv.exe 您的配置檔案名.ini ; *************************** ; 必須的設定 ; *************************** ; 最多用戶. 虛擬聽眾的最大人數. 這個值可以根據您的帶寬計算得出 (例如, 如果您使 ; 用上行為512kbps的ADSL,計劃播放碼率為24kbps的廣播, 您可以選項512kpbs/24kbps=21, ; 為您的最大用戶數.) 將這個值設定的過高只會浪費您的記憶體和帶寬. MaxUser=32 ; 密碼. SHOUTcast 伺服器決不會詢問聽眾密碼, 這個密碼是用來進行播放時使用, 在您對 ; 伺服器進行管理時, 這個密碼也是必須的. 只執行數字和字母, 也是您通過 Winamp 插件 ; 在伺服器上廣播資料所必須的. 當然, 不能使用空密碼. Password=changeme ; 連接阜. 這時您伺服器將要使用的連接阜號. 這個值, 以及這個值 + 1 的連接阜都必須可用. ; 如果伺服器在啟動時通知您有致命錯誤發生, 請確定沒有其他任何程序佔用了這些連接阜 ( ; 您可以嘗試使用 telnet 程序連接這個連接阜 -- 如果顯示拒絕連接, 則說明該連接阜可用. ; 在Unix及其類似系統上使用小於1024的連接阜可能需要root權限. 預設連接阜是8000. PortBase=8000 ; *************************** ; 附加參數 ; *************************** ; *************************** ; 日誌配置 ; *************************** ; 日誌文件: 用來記錄日誌的文件. 要想停止記錄可以填入 '/dev/null' 或者 'none' 或 ; 者什麼都不填. 預設是在類Unix系統上為 ./sc_serv.log, win32系統上為 SHOUTcase 安 ; 裝目錄下的sc_serv.log. ; 注意: 如果在 win32 系統上沒有指定路徑, 則預設路徑為程序的執行路徑, 在類Unix系 ; 統上則是在當前目錄. LogFile=sc_serv.log ; 既時顯示當前流的狀態, 每秒更新. (限於類Unix系統以及win32系統) RealTime=1 ; 控制是否在螢幕控制台上既時顯示程序狀態, 限於類Unix系統及win32系統. 當程序後台 ; 執行時可取消該功能以節省資源. 預設為1 (開啟). ScreenLog=1 ; 確定歌曲歷史記錄中對多可以記錄的歌曲數量. 預設是10. 有效值為1到20. ShowLastSongs=10 ; 決定伺服器是否記錄在 yp.shoutcast.com 上的事件日誌 (即註冊主機以及註銷主機). ; 預設是開啟 ; TchLog=yes ; 決定是否記錄在伺服器網頁上的點擊事件. 由於 DSP 插件使用web方式重新整理標題以及計算 ; 收聽人數, 所以出於節省空間的考慮, 大多數人都把這項關閉. 如果您想看看什麼人點擊 ; 了您的網頁, 那就開啟這項 (先去掉前面的註釋) . 注意這個選項對 XML 的計數器沒有 ; 影響. ; WebLog=no ; 開啟 W3C 日誌. W3C 包括以 http 形式對每個聽眾進行跟蹤記錄, 也記錄了沒個聽眾接 ; 收的流量. 並且這項日誌資料可以用分析工具進行總結, 或者報告給調查系統. ; 預設是 Yes (開啟) W3CEnable=Yes ; W3C 日誌的檔案名. 預設是 sc_w3c.log, 儲存於 SHOUTcase 程序目錄中 W3CLog=sc_w3c.log ; *************************** ; 網路配置 ; *************************** ; 源 IP, 用來接收廣播源的 IP ( 如果允許中轉也用來接收外來的中轉). 一般是 ANY 也可 ; 使用 127.0.0.1 ( 使用 127.0.0.1 的話則會禁止其他的機器使用您的廣播伺服器進行廣 ; 播 ) SrcIP=ANY ; 目的 IP, 用來接受客戶端訪問的 IP ( 同時也用來聯繫 yp.shoutcast.com ) 一般是 ANY. ; 如果您的機器有多個 IP, 就填入您想用來接受客戶端的 IP. DestIP=ANY ; Yport, 用來連接 yp.shoutcast.com 的連接阜. 對於在防火牆以後的用戶, 請把這個改成交 ; 替連接阜 ( 一般是 666, 如果有問題發生請訪問 www.shoutcast.com ). 或者, 就寫成 80. ; 我們正在試突使其工作在 666 連接阜, 但是這個版本中僅有 80 連接阜可以工作. Yport=80 ; 域名查詢. 設定成 1 以實現 DNS 反向查詢. 如果您的伺服器比較慢,這個設定可能會延長 ; 連線到伺服器的時間. 預設是 0 ( 關閉 ) NameLookups=0 ; 當把本伺服器設定成中轉伺服器是必須制定中轉連接阜和中轉. 對於其他的伺服器來說, 中轉 ; 伺服器處於客戶端的地位, 並把來自其他伺服器的廣播進行中轉重發. ; 要想關閉中轉模式, 只要把這兩項註釋掉, 或者把中轉連接阜設定為0, 中轉伺服器設定成空 ; 即可. ; RelayPort=8000 ; RelayServer=192.168.1.58 ; *************************** ; 伺服器配置 ; *************************** ; 管理密碼. 這個密碼設定以後即為訪問 web 管理頁面的管理密碼. 使用前面設定過的播放密 ; 碼雖然仍可以訪問管理頁面, 但其權限僅為檢視各項統計資料, 不具備訪問控制的管理權力, ; 預設是不設定該密碼 ( 這樣以來使用前面的密碼就可以進行完全的控制) ; AdminPassword=adminpass ; 設定當廣播源丟失時是否中斷連線聽眾的連接. 預設為 0 . AutoDumpUsers=0 ; 設定廣播源與伺服器中斷聯繫後最大閒置時間. 預設是 30 . AutoDumpSourceTime=30 ; 設定內容目錄, 用來進行媒體點播時使用. 在這個版本可以很好的支持子目錄中的文件. 預設 ; 是 ./content, 就是 sc_serv.exe 所在目錄裡面名為 content 的目錄. ; ContentDir=./content ; 設定前奏文件,前奏文件是指在聽眾連接上您的伺服器即將收聽直播之前要被播放的一個 mp3 文件. ; 注意該 mp3 文件必須和您播出廣播的碼率及聲道設定相同. 不過您可以使用以下方法指定多個 ; 碼率的文件以待播放時自動選項: 在檔案名中使用 "%d" 作為萬用字元. ; ( 例如 IntroFile=C:\intro%d.mp3, 則當您播放 64kbps 碼率時則會選項 C:\intro64.mp3) ; 預設沒有前奏文件 ; IntroFile=c:\intro%d.mp3 ; 設定備份檔案, 當廣播源斷線時該檔案會被反覆播放直到重新連上為止. 必須把 AutoDumpUsers ; 設定成 0, 才能使用該項功能. ; 注意該 mp3 文件必須和您播出廣播的碼率及聲道設定相同. 不過您可以使用以下方法指定多個 ; 碼率的文件以待播放時自動選項: 在檔案名中使用 "%d" 作為萬用字元. ; ( 例如 IntroFile=C:\intro%d.mp3, 則當您播放 64kbps 碼率時則會選項 C:\intro64.mp3) ; 預設沒有備份檔案 ; BackupFile=C:\intro%d.mp3 ; 標題格式指定您將要傳送到聽眾的廣播標題的格式. 例如, 加上 'Justin Radio' 會強制把標題 ; 設定為 'Justin Radio'. 也可以使用 '%s' 引用廣播源的標題. ; 例如, 如果設定 'TitleFormat=Justin Radio: %s', 而廣播源的 DSP 插件中設定標題為 ; 'Billy plays the blues', 則在聽眾的播放器中顯示的標題為: ; 'Justin Radio: Billy plays the blues'. ; 注意: 只在非中轉伺服器上生效. ; TitleFormat=Justin Radio: %s ; URL格式指定將要傳送到聽眾的網址格式. 用法與標題格式類似. ; 預設不設定格式. ; URLFormat=http://www.server.com/redirect.cgi?url=%s ; 設定是否公開伺服器, 可以使用 always, never, 或者 default. 如果您的伺服器不能連線到 ; Internet, 或者您不想在 SHOUTcast 的列表上公開伺服器,請設定為 never. PublicServer=default ; 設定是否允許中轉, 預設為 Yes. AllowRelay=Yes ; 設定是否允許公開中轉, 當設定為 no 時, 伺服器會告訴其他的中轉伺服器不要把本伺服器的 ; 標題在 SHOUTcast 的伺服器上公開. 預設是 Yes. AllowPublicRelay=Yes ; 設定傳送 meatdata 的頻率, 請不要改動此項. MetaInterval=8192 ; ***************************** ; 訪問控制 ; ***************************** ; 收聽時間限制是指一個聽眾可以收聽廣播的最大時長. 如果超過這個時長, 則該聽眾會被強制 ; 踢出. 如果不定義這個數值, 則無限制. 預設是不定義. ; ListenerTimer=600 ; 封禁列表存儲了禁止訪問伺服器的聽眾的列表. 其內容通過 web 界面自動產生. ; BanFile=sc_serv.ban ; 保留列表存儲了總是允許訪問伺服器的用戶的 IP 位址. 其內容通過 web 節目自動產生. ; 注意如果您的伺服器聽眾已滿, 而此時一個保留 IP 的用戶連接進來, 伺服器會自動踢掉一個 ; 收聽時間最長的用戶, 然後讓這個保留 IP 的用戶加入聽眾行列. ; RipFile=sc_serv.rip ; 設定讓伺服器僅供保留列表中的用戶使用. 其他所有未知連接都不會被接受. 當設定為 Yes時, ; 也會讓伺服器進入私有模式. 預設是 No. ; RIPOnly=No ; ***************************** ; 擴展日誌 ; ***************************** ; 本版本中已經取消此種日誌, 以 W3C 日誌替代. ; *************************** ; 其他配置 (進階用戶使用) ; *************************** ; Unique: assigns a variable name for use in any config item which points to a ; file. Useful for servers running lots of SHOUTcast servers that have similar ; configuration parameters, excepting logfile names, banfile names, etc. Any ; parameter that takes a pathname can include the character $, which will ; substitute $ for the variable assigned here. Keep in mind that the unique ; variable can only be used after it is defined, so don't try to use a unique ; variable substitution in a path before you define it. For example, you ; could set: ; Unique=my_server ; and then define Log=/usr/local/shoutcast/$.log in an included configuration ; file. Default is Unique=$, so that by default any file with $ in the name ; won't substitute anything at all. ; Include: instructs the sc_serv to read from the named configuration file, ; *at the point of insertion of the Include statement*, and process as though ; the included file was part of itself. Note that all configuration parameters ; in the DNAS config file are processed first to last, so if an item is defined ; twice in a configuration, the last item to process will be the one that takes ; effect. For this reason, it's usually a good idea to use the Includes first ; in a config file. ; example: ; Include=/usr/local/shoutcast/common.conf ; Default is not applicable. ; ***************************** ; 效率調整 (偵錯用) ; ***************************** ; ; 在進行以下的修改之前, 請確定您有十分的把握. 我們對您為此付出的損失不負任何責任! ; 僅供進階用戶偵錯使用! ; CpuCount is used to explicitly limit the DNAS to dominating a finite ; amount of processors in multiprocessor systems. By default, ; SHOUTcast creates one thread for every processor it detects in the ; host system, and assigns listeners equally across all the threads. ; In the event SHOUTcast doesn't correctly determine the number of ; CPUs in your host, or if you for whatever reason want to force ; the DNAS to not use other processors, you can say so here. ; Default behavior is to use as many processors as the DNAS detects on ; your system. ; CpuCount=1 ; Sleep defines the granularity of the client threads for sending data. ; DNAS 1.7.0, per client thread, will send up to 1,024 bytes of data ; per socket (or less depending on the window available), and then ; sleep for the provided duration before repeating the whole process. ; Note that making this value smaller will vastly increase CPU usage on ; your machine. Increasing reduces CPU, but increasing this value too far ; will cause skips. The value which seems most optimal for 128kbps ; streaming is 833 (833 microseconds per client poll) on our test labs. ; We wouldn't recommend setting it any lower than 100, or any higher than ; 1,024. If you have a slower machine, set this number lower to fix ; skips. ; Default value is 833. ; Sleep=833 ; CleanXML strips some whitespace and linefeeds from XML output which ; confuses some (poorly written) XML parsers. If you get XML rendering errors, ; try turning this on. Default is No (off). ; CleanXML=No ; ; TAG RULES 兩個電台 B&W's relay server2,source from sharin' server. RealPlayer、Winamp_128k Cable/DSL/T1 http://henrycxc.vicp.net:8000/listen.pls B&W's relay server1,source from i_amok_cn' server. RealPlayer、Winamp_128k Cable/DSL/T1 http://henrycxc.vicp.net:8800/listen.pls |
__________________ |
|
送花文章: 3,
|
主題工具 | |
顯示模式 | |
|
|
相似的主題 | ||||
主題 | 主題作者 | 討論區 | 回覆 | 最後發表 |
用winamp架設自己的電台 | psac | 多媒體影音轉檔燒錄技術文件 | 4 | 2006-01-26 02:26 AM |
Hack Proofing Your Network | mic64 | 網路軟硬體架設技術文件 | 12 | 2004-06-21 03:28 PM |
用winamp架設自己的電台 | psac | 多媒體影音轉檔燒錄技術文件 | 1 | 2003-12-23 05:24 AM |
用winamp架設自己的電台 | psac | 多媒體影音轉檔燒錄技術文件 | 3 | 2003-12-18 11:58 AM |