Difference between revisions of "Darwin Streaming Server"

From Wikifications
Jump to: navigation, search
(initial rev from backup)
 
m (formating)
Line 18: Line 18:
 
  % setenv CVS_RSH ssh
 
  % setenv CVS_RSH ssh
 
  % setenv CVSROOT :ext:apsl@anoncvs.opensource.apple.com:/cvs/apsl
 
  % setenv CVSROOT :ext:apsl@anoncvs.opensource.apple.com:/cvs/apsl
  % cvs co !StreamingServer
+
  % 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  
 
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  

Revision as of 17:04, 16 April 2005

ServiceInfo

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