Darwin Streaming Server RPM for RHEL6

I wanted to run Darwin Streaming Server on Red Hat Enterprise Linux 6.

I made binary RPMs for 64-bit RHEL6 using these instructions. My changes:

  • fixed the symlink at /var/dss/modules to point to the correct directory
  • worked around the fact that DarwinStreamingServer -x does not exit when run
  • changed config path so that login to the Web Admin is possible

To install on RHEL6 (or CentOS 6, I presume):

yum install perl-Net-SSLeay
rpm -Uh DarwinStreamingServer-6.0.3-4.x86_64.rpm
qtpasswd -c -p yourpassword yourusername

You'll need to open firewall ports:

iptables -A INPUT --protocol tcp --destination $ip --dport 554 -m state --state NEW -j ACCEPT
# Cheesy perl-based web GUI started by /usr/sbin/streamingserver.pl
iptables -A INPUT --protocol tcp --destination $ip --dport 1220 -m state --state NEW -j ACCEPT
# UDP
iptables -A INPUT --protocol udp --destination $ip --dport 6970:6989 -m state --state NEW -j ACCEPT
iptables -A INPUT --protocol tcp --destination $ip --dport 7070 -m state --state NEW -j ACCEPT

You can get to the web admin screen at http://example.com:1220.

Also, Apple seems to be moving toward HTTP Live Streaming and away from Darwin Streaming Server.

References
http://www.howtoforge.com/apples-darwin-streaming-server-on-centos-5.2
http://www.codeproject.com/Articles/41874/Darwin-Streaming-Server-6-0-3-setup-customization
http://git.m2x.eu/git/cgi-bin/gitweb.cgi/?p=DarwinStreamingServer.git;a=summary
http://wiki.alessandrodelgallo.org/index.php/DarwinStreamingServer

Comments

Hi John,

  • When issuing the qtpasswd command I am informed that a file already exists. Should this file be overwritten?
  • What $ip is expected in the iptables -A commands above?

It's been a while since I played with this.

I think you want to overwrite the existing file with a new one which contains a password that you know.

--destination is where the packets are headed. So on the iptables INPUT chain, it is the IP of the box that will be doing the serving. That is, the IP that Darwin Streaming Server is listening on.