Darwin Streaming Server

From Wikifications
Revision as of 17:06, 16 April 2005 by Dre (Talk | contribs) (added service info)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Service Info:

/usr/local/sbin/DarwinStreamingServer - Streaming Server app
/usr/local/sbin/streamingadminserver.pl - QTSS Web Admin server
/usr/local/sbin/StreamingServerModules/ - QTSS plug-ins
/usr/local/bin/PlaylistBroadcaster - The PlaylistBroadcaster
/usr/local/bin/MP3Broadcaster - The MP3Broadcaster
/usr/local/bin/qtpasswd - Generates password files for access control
/etc/streaming/ - QTSS config files
/usr/local/movies/ - Media files
/var/streaming/  - readme.html & user manual.pdf files
/var/streaming/logs - Logs
/var/streaming/playlists - Web Admin Playlist files

Icecast's various components have been installed in the following directories:

  • The icecast server:
/usr/local/sbin/icecast
  • Icecast configuration files have been installed in:
/usr/local/etc/icecast/
  • Icecast documentation is located in:
/usr/local/share/doc/icecast/

Big Note

I do not recommend compiling DSS from source in freebsd 4.9 stable. I did so and ended up with a server that would work fine using the http / tcp transport, but UDP was somehow partially broken. This took a while to track down and was frankly a pita. For this reason, I recommend using the freebsd DSS package here: http://www.cs.rochester.edu/~charman/DSS_FreeBSD/

If you do want to build from source, first set up a ~/.cvsrc if you don't have one.

checkout -P
update -P -d
diff -u -d -b -w
rdiff -u
cvs -z3

Then proceed with getting the source from apple (these appear to be csh compatible instructions)

% setenv CVS_RSH ssh
% setenv CVSROOT :ext:apsl@anoncvs.opensource.apple.com:/cvs/apsl
% cvs co StreamingServer

This checks out the StreamingServer project. You should be able to run the Buildit script to compile the source, but don't try installing it, as the included script won't work (it's for the binary distribution). Instead read the document below for info on how to proceed (if you choose to use his binary, the included install script is what you want).

http://www.cs.rochester.edu/~charman/DSS_FreeBSD/Readme.FreeBSD

http://www.dreness.com/bits/Readme.FreeBSD <-- local cache

Once it's installed, we can start to configure. Bind to a single ip by changing /etc/streaming/streamingserver.xml:

<PREF NAME3D"bind_ip_addr" >1.2.3.5</PREF>

Changes in streamingserver.xml for DSS Debuging:

<PREF NAME3D"packet_header_printf_options" >rr; ack;</PREF>
<PREF NAME3D"RTSP_debug_printfs" TYPE3D"Bool16" >true</PREF>
<PREF NAME3D"enable_packet_header_printfs" TYPE3D"Bool16" >true</PREF>
<PREF NAME3D"ack_logging_enabled" TYPE3D"Bool16" >true</PREF>

Then run DarwinStreamingServer with -d to see debug output.

back to meta