icecastでMP3ストリーミング


オンデマンド配信の場合(icecast)

  • 「icecast」コマンドでicecastを起動します。

    # /usr/local/icecast/bin/icecast
    Icecast Version 1.3.11 Initializing...
    Icecast comes with NO WARRANTY, to the extent permitted by law.
    You may redistribute copies of Icecast under the terms of the
    GNU General Public License.
    For more information about these matters, see the file named COPYING.
    Starting thread engine...
    [25/Aug/2001:00:42:14] Icecast Version 1.3.11 Starting..
    [25/Aug/2001:00:42:14] Starting Admin Console Thread...
    -> [25/Aug/2001:00:42:14] Starting main connection handler...
    -> [25/Aug/2001:00:42:14] Listening on port 8000...
    -> [25/Aug/2001:00:42:14] Listening on port 8001...
    -> [25/Aug/2001:00:42:14] Using 'taro' as servername...
    -> [25/Aug/2001:00:42:14] Server limits: 900 clients, 900 clients per source, 10 sources, 5 admins
    -> [25/Aug/2001:00:42:14] WWW Admin interface accessible at http://taro:8000/admin
    -> [25/Aug/2001:00:42:14] Starting Calender Thread...
    -> -> [25/Aug/2001:00:42:14] Starting UDP handler thread...
    -> [25/Aug/2001:00:42:14] Starting relay connector thread...
    -> [25/Aug/2001:00:42:14] [Bandwidth: 0.000000MB/s] [Sources: 0] [Clients: 0] [Admins: 1] [Uptime: 0 seconds]
    -> 
    


MP3プレーヤからのオンデマンドによるアクセス

  • LAN上のクライアントからは、例えばWindowsのWinampや、LinuxのXmmsなどのプレーヤからMP3ファイル名を指定してアクセスします。Winampならば、右クリックメニューの「Play Location」でURLを指定します。Xmmsならば、右クリックメニューの「URLを再生」でURLを指定します。指定するURLは、MP3ファイルがデフォルトの「/usr/local/icecast/static」に用意してある場合は、以下の様になります。

    http://taro:8000/file/SOS.mp3
    



前に戻る | 次へ進む

トップへもどる


Copyright (c) 2001 Hiroshi Nakamura. All rights reserved.