Darwin Streaming Server
The Darwin Streaming Server is the open-source equivalent to the Quicktime Streaming Server. It was developed and is primarily maintained by Apple.
Darwin can stream hinted mp4 and mov files by RTSP/RTP as well as non-interative streaming of mp3 playlists. See the full Administrator's Guide for more details on features and configuration.
The Darwin home page is at http://developer.apple.com/opensource/server/streaming/index.html
- Download Linux Package (Fedora Core 4 or later) from http://www.opensource.apple.com/projects/streaming/release/DarwinStreamingSrvr5.5.4-Linux.tar.gz.
An Apple ID is required for download.
- Unpack it tar -xzf DarwinStreamingSrvr5.5.4-Linux.tar.gz
- cd DarwinStreamingSrvr5.5.4-Linux
- ./Install (as root if needed system-wide)
Installing Darwin as a Service
To make Darwin start on boot and be accessible as a service in /etc/init.d/ follow these steps:
- Download the init.d script to /etc/init.d/
- Set permissions on the script:
chmod 755 /etc/init.d/dss
- Set dss to run as a service on boot
chkconfig dss on
At this point, you can start dss manually:
The init.d script has five possible actions: start, stop, status, restart, condrestart, and reload.
Reload will cause Darwin to reread its configuration files without disconnecting already connected users. Condrestart will only restart if Darwin is currently running. Status will allow you to see if Darwin is running. The output of status is currently a bit confusing; Darwin running properly will cause the following output:
First, edit /etc/streaming/streamingserver.xml to bind the streaming server to its assigned IP address:
You will need to restart the Darwin Streaming Servers for this change to take effect.
Point your browser to http://localhost:1220/ to access the Darwin management tool.
Note that if you do not have terminal access to this machine and port 1220 is not open, you can try forwarding an X connection through SSH:
ssh -Y hostname. This approach requires that X11 is installed on both the server and client of the the SSH connection. Once connected launch the browser of your choice:
The only settings that need to be changed for Variations are the Media Directory and enabling Port 80 streaming (if desired).
Initial setup will ask for the Media Directory, the default for Variations is /home/dmlserv/content/streaming.