13
Streaming Server Strategies and Tips
Preparing Live Media for Streaming
To stream live audio or video, you need to do the following:
1
Set up your broadcast software following the instructions that came with it.
2
Connect the audio or video equipment to the computer you’re using to capture and encode
the signal.
3
Use your broadcast software to create a Session Description Protocol (SDP) file on the
computer you use to capture and encode the live signal.
See the instructions that came with your broadcast software.
4
Copy the SDP file to your Darwin Streaming Server computer.
Be sure to copy the file into the directory you’re using for streaming.
5
If you want the streamed media to show on a Web page, set up the Web page by using the
EMBED tag or creating a separate QuickTime reference movie (see “Setting Up a Web Page
With Streamed Media” on page 10).
6
Make sure the streaming server is started.
7
Start the broadcast software following the instructions that came with it.
8
Tell users how to view the streamed media by providing them with an RTSP URL to your SDP
file, or an HTTP URL to the QuickTime reference movie that you placed on your Web server.
Preparing Stored Media for Streaming
To prepare stored media for streaming:
Step 1: Add Hint Tracks to Your Media
Hint tracks contain information the streaming server needs to stream the media properly.
Most authoring applications let you export media as a hinted QuickTime movie. If you have
QuickTime Pro, you can also hint a movie using QuickTime Player. QuickTime Pro is available
for both Mac OS and Windows computers. Check the QuickTime Web site for information on
system requirements and installation instructions.
Each track in a media file must have its own hint track. For example, a movie with one
audio and one video track must have two hint tracks: one for the audio track and one for
the video track.
When you use QuickTime Player to export a movie as a hinted movie, QuickTime adds the
appropriate number of hint tracks automatically.
Comentarios a estos manuales