Difference between revisions of "DarwinStreamingServer"

From Alessandro's Wiki
Line 33: Line 33:
* mkdir -p /usr/src/redhat/SOURCES
* mkdir -p /usr/src/redhat/SOURCES
* rpm -ivh DarwinStreamingServer-6.0.3-2.src.rpm
* rpm -ivh DarwinStreamingServer-6.0.3-2.src.rpm
* cd /usr/src/redhat/SPECS/
* cd /usr/src/redhat/SPECS/ || cd /root/rpmbuild/SPECS
* rpmbuild -bb DarwinStreamingServer.spec
* rpmbuild -bb DarwinStreamingServer.spec
* cd /usr/src/redhat/RPMS/x86_64/
* cd /usr/src/redhat/RPMS/x86_64/
* rpm -U DarwinStreamingServer*
* rpm -U DarwinStreamingServer*
* on another terminal, killall -9 DarwinStreamingServer (becouse the installation hangs)
* on another terminal, killall -9 DarwinStreamingServer (becouse the installation hangs)

Revision as of 11:24, 5 January 2012

This is a streaming for the Apple QuickTime format.

* download from: http://static.macosforge.org/dss/downloads/

Installation

  • User: (command may change depending on distribution/version)
groupadd --system qtss; adduser --system --no-create-home -G qtss qtss
id qtss
uid=501(qtss) gid=501(qtss) groups=501(qtss)

From Source

  • run "'Buildit'" script in source.
  • run '"Install'" script in source.
  • edit the configuration file streamingserver.xml in /etc/streaming.
    • bind_ip_addr to the ip to listen to.
    • rtsp_port

RedHat based (using rpm)

(http://www.howtoforge.com/apples-darwin-streaming-server-on-centos-5.2)
  • yum groupinstall "Development Tools"
  • yum install perl-Net-SSLeay
  • wget http://www.abrahamsson.com/DarwinStreamingServer-6.0.3-2.src.rpm
  • mkdir -p /usr/src/redhat/SOURCES
  • rpm -ivh DarwinStreamingServer-6.0.3-2.src.rpm
  • cd /usr/src/redhat/SPECS/ || cd /root/rpmbuild/SPECS
  • rpmbuild -bb DarwinStreamingServer.spec
  • cd /usr/src/redhat/RPMS/x86_64/
  • rpm -U DarwinStreamingServer*
  • on another terminal, killall -9 DarwinStreamingServer (becouse the installation hangs)