Child pages
  • Darwin Streaming Server

This space has moved to IU's Confluence.
It is located at https://uisapp2.iu.edu/confluence-prd/display/iulV3/

Skip to end of metadata
Go to start of metadata

Darwin Streaming Server

Contents

Overview

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

Installing Darwin

  1. 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.
  2. Unpack it tar -xzf DarwinStreamingSrvr5.5.4-Linux.tar.gz
  3. cd DarwinStreamingSrvr5.5.4-Linux
  4. ./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:

  1. Download the init.d script to /etc/init.d/
  2. Set permissions on the script: chmod 755 /etc/init.d/dss
  3. Set dss to run as a service on boot
    • chkconfig dss on

At this point, you can start dss manually: /etc/init.d/dss start.

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:

streamingadminserver dead but pid file exists
DarwinStreamingServer (pid 14554 14338) is running...

Configuring Darwin

First, edit /etc/streaming/streamingserver.xml to bind the streaming server to its assigned IP address:

<PREF NAME="bind_ip_addr" >your streaming IP address</PREF>

You will need to restart the Darwin Streaming Servers for this change to take effect. /etc/init.d/dss restart

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: konquerer localhost:1220.

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.

  • No labels