QuickTime Streaming Server Darwin Streaming Server
Administrator’s Guide
RealAudio is a trademark of Progressive Networks, Inc
K Apple Computer, Inc
2002 Apple Computer, Inc. All rights reserved
Adobe and PostScript are trademarks of Adobe Systems Incorporated
1 Getting Started
Contents
Preface
QuickTime Streaming
Relays
Media
Working With Connected Users
Preparing Audio
The Streaming Server Computer Crashes or Is Restarted
Installing SSL
3 Setup Example
Adding or Deleting Groups
Glossary Index
Setting It Up Creating a Web Page for Easy Access
What Is Streaming?
QuickTime Streaming
About Streaming Servers
Simple Setup for Live Video
Live Versus On-Demand Delivery
8 Preface
QuickTime Streaming
How Does Streaming Work?
10 Preface
Multicast Versus Unicast
Relaying Streamed Media
The Total Streaming Solution
The QuickTime suite is made up of the following components
QTSS and DSS 4.1 added these features
For More Information
14 Preface
Getting Started
Setup Overview
Client Computer Requirements
Hardware and Software
Apple recommends
Setting Up Your Streaming Server
The streaming server is now active and ready to stream media
Testing Your Setup
where hostname is the host name or IP address of your server
8 Click Finish
Page
User Interface
Working With Streaming Server Admin
Managing Your Streaming Server
22 Chapter
Starting or Stopping Streaming Service
Viewing Streaming Status
Working With Connected Users
2 Make the changes you want and click Save Changes
m To see the general settings, click General Settings
You can view and change port settings in Streaming Server Admin
Other supported platforms /var/streaming/Logs
Error Log Error.log
Streaming MP3 requests log mp3access.log
Streaming admin server requests log streamingadminserver.log
Other supported platforms /var/streaming/Playlists/playlistname
Media
About Instant-On Streaming
Preparing Prerecorded Media
Be sure to copy the files into the directory you specified for streaming
New file with only hint tracks myfile.mov
Original, non-hinted file myfile.avi
2 Export the file by choosing Export from the File menu
1 Open QuickTime Player on a Mac OS X, Mac OS, or Windows computer
3 Copy the SDP file to your streaming server computer
Setting Up a Web Page With Streamed Media
A PLS file uses this format
pls files using the user’s MP3 player automatically
rtsptext rtsp//my.streamingserver.com/sample.mov
The M3U file contains a single line of text in this format
Playlists
To stop broadcasting a playlist, click the Stop button
Changing a Playlist
Deleting a Playlist
36 Chapter
3 If the playlist is running, click the Stop button
Relays
To see the Relay Settings pane, click Relay Settings
Working With Relay Settings
4 Complete the fields for Destination
1 Click Relay Settings 2 Click New Relay or Edit Default Relay
6 Click Save Changes to add the source to your relay settings
Setting Up Relays
Security
Creating an Access File
Controlling Access to Streamed Media
Save the access file as plain text not .rtf or any other file format
2 Enter a password for the user and reenter it when prompted
To create a user account on the streaming server
Installing SSL
where someUserName is a broadcaster user name of your choosing
Problems
m Check the error log
m Make sure users have the correct URL
m Turn off other services
Users See Error Messages While Streaming Media
m Reduce the maximum number of connections or the maximum throughput
You’re Having Problems With Playlists
Users Can’t See Live Streamed Media
48 Chapter
tells the server to bind to the local IP address
Advanced
1 Log in to the server as an administrator
This section answers questions raised by more advanced users
\Program Files\Darwin Streaming Server\streamingserver.xml
Library/QuickTimeStreaming/Config/streamingserver.xml
ssl=0 bind=IP address to bind to
PREF NAME=bindipaddr0PREF
usr/sbin/streamingadminserver.pl
To kill the QuickTime Streaming Server QTSS processes
To kill and restart a process
To get QTSS to re-read its preferences
52 Chapter
This will produce the following
Page
Streaming Presentations-Live and On Demand
Setup Example
56 Chapter
The streaming setup in this example, shown above, has these features
Step 1 Prepare the Location
Setting It Up
Step 2 Prepare the Network
Can the server computer be dedicated solely to streaming?
Step 3 Set Up Your Streaming Server
How much random access memory RAM is needed?
dataRateInBits / 8 bits * timeInSeconds = file size
Example for a one-hour 300-Kbps stream
1 Click Port Settings in Streaming Server Admin
The Port Settings page displays
2 Click the “Streaming on Port 80” checkbox, then click Save Changes
m sturdy tripod on which to mount the camera m portable lighting kit
For the example setup, the following items are needed
Step 4 Set Up for a Live Webcast
m good-quality DV camera
Here are other desirable features
Step 5 Set Up Broadcaster
Creating a Web Page for Easy Access
Archiving the Live Presentation
Shooting the Live Presentation
8 Click Import again when you want to stop importing
Page
Glossary
byte Eight bits
rules for linking and exchanging files on a network
instructions to a musical synthesizer
N, O
Page
tween track A track that modifies the display of other tracks
76 Glossary
Index
stopping unable to connect to 47 viewing browsers. See web browsers
“Error Log” setting 26 errors
killing QTSS processes
symbolic links within 52-53 “Media Directory” setting 24 media files
MPEG-4
See also streaming servers
84 Index
passwords. See passwords proxies
“Sequential Looped” mode 34, 49 “Sequential” mode
SSL Secure Sockets Layer 24, 43 SSL certificate
valid-user tag 41 video
See also errors