QTBroadcaster
From Acorn
1. Open QT Broadcaster. This assumes it is on a different computer than QTSS.
2. Set the desired audio and video encoding parameters, if in doubt start with some presets.
3. Under Network tab, Set Transmission:Unicast, Address: (the network IP of your QTSS, not the multicast one you want to use), Audio Port: (5442 for example), Video Port: (+2 higher than audio, 5444 for example)
Note, do not duplicate any audio or video ports already used by QTSS (or other encoders, to be safe). Separate pairs by at least 4 numbers, as RTP/RTSP requires 4 ports (audio, audio +1, video, video + 1).
4. Leave Buffer Delay blank, this will default to 0.
5. Start Broadcaster
6. Go to File>Export SDP. Give it a name with .sdp extension, i.e: broadcaster-1.sdp
7. Open SDP in Text Edit, if you want to examine it:
8. Move broadcaster-1.sdp file to QTSS server, /Library/QuickTimeStreaming/Movies directory.
9. Test the stream unicast: In a client, open QT Player, File>Open URL. To avoid firewall issue, test on the same subnet.
10. Type: rtsp://yourserverIP/broadcaster-1.sdp, you should see and hear your movie.
CREATING THE MULTICAST RELAY (OSX Server 10.5.8)
1. Open Server Admin, and go to your QTSS. Select QuickTime Streaming at left. These directions assume QTSS has been running correctly.
2. Go to Relays Tab. Click "+" on bottom left to create a new relay.
3. Name it, i.e.: "QTB1", enable relay, Relay Type: Request Incoming Stream, Source IP:127.0.0.1, Path: broadcaster1.sdp, leave User Name and Password blank.
Click OK, this returns you to the QTSS Relays window.
4. Select the QTB1 relay in the left. On the right, create a new destination address by clicking "+" in the destination address side.
5. In Destination IP Address, enter a legal multicast IP not yet used by your institution, Destination Type: Unannounced UDP, UDP base port number: enter one not yet used by your institution, with adequate separation from any others. We start at base port 9000, and go up by 20 for each stream. Enter Multicast TTL:99.
Click OK.
6. Click Save, lower left, in the QTSS control window.
5. Make a copy of the broadcaster-1.sdp file from the Movies directory to the desktop, rename it to avoid confusion, i.e.: broadcaster-1mc.sdp. Do not remove the file from the Movies directory.
6. Open broadcaster-1mc.sdp in TextEdit (as plain text) Make the following changes:
Change c= to the multicast IP used in the relay, i.e.: C=IN IP4 233.88.214.146
Change m=audio to your UDP base port number, i.e.: m=audio 9080 RTP/AVP 96
Change m=video to your UDP base port number + 2, i.e.: m=video 9082 RTP/AVP 97
Optional: Change the third s= line to your program name.
Save the new sdp file as plain text. (spaces on end?) It should now look like this:
7. Distribute the sdp file, or put on a web server. If you want, you can open the sdp file and save it as a QuickTime movie, and distribute in the same manner.
8. To view the multicast when hosted on a web server, in a client QT Player>Open URL> Go to http://webserverIP/broadcaster-1mc.sdp.
9. To view in VLC, File>Open Network, same URL as above. VLC can only play the sdp file, not the QT movie.
8. To check that you are receiving multicast, in terminal, first sudo, then tcpdump -q -n ip multicast
You should see something like this
12:00:04.080785 IP 136.244.96.107.62404 > 233.88.214.146.9082: UDP, length 210
12:00:04.115476 IP 136.244.96.107.62404 > 233.88.214.146.9080: UDP, length 672
Cancel with Control-C
9. Note: you can still connect using unicast to the original .sdp file in the QTSS/Movies directory, as in the Unicast Test, above, assuming no firewall issues. You can check the number of unicast clients in QTSS Server Admin>QuickTime Streaming>Connections




