Thursday, April 17, 2008

Darwin Streaming Server on GNU/Linux

Darwin Streaming Server is an Apple Public Source Licensed version of QuickTime Streaming Server technology for streaming QuickTime and MPEG-4 media to clients with RTP and RTSP from a GNU/Linux host. You can untar it in /opt and simply run "./Install". After setting an admin password the web admin interface will be running on port 1220. Then you can point a Quicktime client at:
 rtsp://server.domain.tld:7070/sample_300kbit.mov
Note that it's easy to overlook that you need to use port 7070. Using just the RTSP protocol with no port numbers seems to direct me to port 554 which is easy to confuse as the correct port when searching for network activity from a client (123.456.8.9):
$ netstat -an | grep tcp | fgrep 123.456.8.9
tcp        0      0 123.456.7.8:554            123.456.8.9:1733
    CLOSE_WAIT
tcp        0      0 123.456.7.8:554            123.456.8.9:1735
    CLOSE_WAIT
tcp        0      0 123.456.7.8:80             123.456.8.9:1736
    TIME_WAIT
$ fuser -n tcp 554
here: 554
554/tcp:             13052
$ ps axu | grep 13052
qtss     13052  0.0  0.0 70188 5144 ?        Sl   16:23   0:00
/usr/local/sbin/DarwinStreamingServer
root     13316  0.0  0.0  4224  660 pts/2    S+   17:13   0:00 grep 13052
$ 
Note that the above shows what I think to be reasonable troubleshooting for seeing if a desired service is listening on a port but it mislead me. I tried opening the above in Totem but I would need restricted codecs.

No comments: