Streaming Server Setup


The Streaming Server comes in two flavors: Darwin Streaming Server is an Open Source project from Apple. The Open Source version can be downloaded here. Binaries of Darwin Streaming Server are available for Mac OS X, Red Hat Linux 9, Solaris 9 and Windows 2000/2003/XP. Apple includes QuickTime Streaming Server, a commercially supported version of the server, with Mac OS X Server. QuickTime Streaming Server adds:

Support and Documentation

Documentation on QuickTime Streaming Server in pdf format is available here (most of the documentation applies to Darwin as well). A QuickTime/Darwin Streaming Server technology brief in pdf format is available here. Developer documentation is available here. Apple has also posted a good summary of the use and advantages streaming versus http fast-start.

Mailing list support for Darwin Streaming Server and QuickTime Streaming Server is provided informally via the streaming server mailing lists (the users list or the developers list).

Online support resources include the QuickTime section of Apple's support site, and the Streaming Server FAQ.

Download and Install

If you are using Mac OS X Server, QuickTime Streaming Server is already installed. The procedures outlined on this page use the web administration front end for QuickTime Streaming Server. To use web administration you must enable this capability using the Server Admin application in Panther Server. Select the QuickTime Streaming Service and navigate to Access-Settings. Check off "Enable web-based administration", set the password for web administration and save your settings.

If you want to use Darwin Streaming Server, it can be downloaded here. Windows does not include Perl which is required for web administration of Darwin Streaming Server. You can download Active State Perl for Windows here. Make sure to have Perl installed before running the installer on Windows.

Once the Darwin binaries are downloaded, unpack the archive and review the Read Me file, then start the server. On Mac OS X, the server will automatically start after installation. The best way to start the server on Solaris, Linux and Windows is to start up the Perl script that provides web administration:

On Solaris and Linux:
On Windows:
C:\Perl\bin\perl "C:\Program Files\Darwin Streaming Server\"
Note: On Windows it may be necessary to reset the administrative password before running, the Perl administrative server. You can create/reset the administrative password on Windows with the following command:
C:\Perl\bin\perl "C:\Program Files\Darwin Streaming Server\"
Once the Perl process is running you can access the web administrative interface by opening your web browser on the server and opening the URL:
When you first install the server, you should be lead through the following screens in your browser:
  1. MP3 Broadcaster password. The Streaming Server can reflect live Icecast/Shoutcast broadcasts if you configure a MP3 Broadcast password.
  2. SSL certificate. The server can be administered over SSL if a valid SSL certificate installed. Usually this feature is not enabled during installation.
  3. Media Folder. This is the "document root" for the streaming server. Media files will be placed in this folder or subdirectories of this folder.
  4. Port 80 Streaming. The server can be configured to stream over Port 80. If you are not running a web server on port 80 on the same system, it is a good idea to enable this option. This will allow clients to connect to your server through most firewalls.

Once you have navigated through the setup screens, you should see the main window for web server administration on your server. The options configured during setup can be changed in the general settings and port settings panes of the administrative web interface.

Note: You can set up the to automatically execute when your server is started if you always want to have the server running (i.e. by editing rc.local on Linux). On Windows 2000/2003 Server the installer adds Darwin Streaming Server as a service in the Service Manager.

Test the Server

To test your server, go to another system on your network with QuickTime installed. Open QuickTime Player and select "Open URL..." from the File Menu:

Enter the rtsp url to your server using it's IP address and the filename (a sample movie installed in the Movies directory on the server):

The player should open up a stream from your server. Compressed and hinted movies can now be placed in the Movies directory and streamed.

This page has some useful information on starting a stopping the server once the server is up and running.