Darwin Streaming Server のバックアップ差分(No.2)


  • 追加された行はこの色です。
  • 削除された行はこの色です。
Helix Universal Server等が起動している場合は終了させる。
*概要 [#m20a013c]

Quick Time Streaming Serverのオープンソース版。対応フォーマットはQuick Time、MPEG4、MP3。

*設定手順 [#hd6bd6a8]

Helix Universal Serverと使用ポートがかぶるため、起動している場合は終了させる。

**ダウンロード [#nb060b69]

http://developer.apple.com/darwin/projects/streaming/
から、

Source Code : Streaming Server 5.5.1 

をダウンロードする。

ダウンロードにはユーザー登録が必要(無料)。

**解凍 [#i24c1e09]
 # tar xf DarwinStreamingSrvr5.5-Source.tar

**ビルド [#b7a4a0a9]
gcc-c++の開発環境が必要。

 # cd DarwinStreamingSrvr5.5-Source/
 # ./Buildit
 Darwin Streaming Server
 -----------------------
 Configuring for the Linux i686 platform
 Building for Linux.i686 with gcc
 Building CommonUtilitiesLib for Linux.i686 with gcc
 :
 :

 # ./DSS_MakeRoot -f ../DSS-55.bin
 ./DSS_MakeRoot: line 11: [: =: unary operator expected
 Installing source build of Darwin Streaming Server
 :
 :
 Done.

**インストール [#m85ff3e9]
 # cd ../DSS-55.bin/
 # ./Install
 
 Installing Darwin Streaming Server
 
 Checking for and Killing currently running Darwin Streaming Server
 Removing previous versions of Darwin Streaming Server
 
 Backing up previous config files
 
 Inserting path to perl into scripts..
 :
 :
 :
 Launching streamingadminserver.pl
 
 Installation Complete
 
 Darwin Streaming Server Setup
 
 In order to administer the Darwin Streaming Server you must create an administrator user [Note: The administrator user name cannot contain spaces, or single or double quote characters, and cannot be more than 255 characters long].
 Please enter a new administrator user name: test	←ユーザー名を入力
 Please enter a new administrator user name: test		←ユーザー名を入力
 
 
 You must also enter a password for the administrator user [Note: The administrator password cannot contain spaces, or quotes, either single or double, and cannot be more than 80 characters long].
 Please enter a new administrator Password:			←パスワードを入力
 Re-enter the new administrator password:
 Adding userName test
 Setup Complete!


**起動 [#ic66c9e3]

 # DarwinStreamingServer

起動しても何も出てこない。ps auxで確認。

クライアントからQuickTimePlayerで、
クライアントからQuick Time Playerで、

 rtsp://ドメイン名かIP:554/sample_100kbit.mov

が再生できるか確認。
が再生できるか確認。サンプルは、
 /usr/local/movies
に有り、ここに配信したいファイルを置けばよい。

管理ページは、
**管理ページ [#g0e10317]

管理ページは、ブラウザで、
 http://ドメイン名かIP:1220/
で、インストールのときに設定したパスワードを入力。
を開き、インストールのときに設定したパスワードを入力する。80番ポートを使うかどうか聞かれるが、Apacheなどで使用している場合は使わない。

80番ポートを使うかどうか聞かれるが、Apacheなどで使用している場合は使わない。
Playlistsを使うことで、MP3を配信することができる。ここで、MountPointを設定する。

管理ページのPlaylistsを使うことで、MP3を配信することができる。
外部からアクセスする場合は、ルーターで554と7070(rtspによるストリーミング配信)、8000と8001(MP3配信)を開ける。

**クライアントから [#pfbfd1d3]

外部からアクセスする場合は、ルーターで554と7070(rtspによるストリーミング配信)、8000と8001(MP3配信)を開ける。

アクセスするには、
ムービーの場合、
再生するには、ムービーの場合、
 rtsp://ドメイン名かIP:554/MountPoint名
で、 QuickTimePlayerでのみ再生確認できた。
もしくは、
 rtsp://ドメイン名かIP:554/ファイル名
で、 Quick Time Playerでのみ再生確認できた。

MP3の場合は、
 http://ドメイン名かIP:8000/MountPoint名
で、QuickTimePlayerとWindowsMediaPlayerでも再生できた。
で、Quick Time PlayerとWindows Media Playerでも再生できた。


* コメント [#t8762358]
#pcomment(ストリーミングサーバ - Darwin Streaming Server/コメント)