QuickTime Streaming Server Darwin Streaming Server
Administrator’s Guide
2002 Apple Computer, Inc. All rights reserved
K Apple Computer, Inc
Adobe and PostScript are trademarks of Adobe Systems Incorporated
RealAudio is a trademark of Progressive Networks, Inc
Preface
Contents
QuickTime Streaming
1 Getting Started
Working With Connected Users
Media
Preparing Audio
Relays
3 Setup Example
Installing SSL
Adding or Deleting Groups
The Streaming Server Computer Crashes or Is Restarted
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
where hostname is the host name or IP address of your server
Testing Your Setup
8 Click Finish
The streaming server is now active and ready to stream media
Page
User Interface
Working With Streaming Server Admin
Managing Your Streaming Server
Viewing Streaming Status
Starting or Stopping Streaming Service
Working With Connected Users
22 Chapter
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
Streaming MP3 requests log mp3access.log
Error Log Error.log
Streaming admin server requests log streamingadminserver.log
Other supported platforms /var/streaming/Logs
About Instant-On Streaming
Media
Preparing Prerecorded Media
Other supported platforms /var/streaming/Playlists/playlistname
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
rtsptext rtsp//my.streamingserver.com/sample.mov
pls files using the user’s MP3 player automatically
The M3U file contains a single line of text in this format
A PLS file uses this format
Playlists
To stop broadcasting a playlist, click the Stop button
Changing a Playlist
Deleting a Playlist
36 Chapter
To see the Relay Settings pane, click Relay Settings
Relays
Working With Relay Settings
3 If the playlist is running, click the Stop button
6 Click Save Changes to add the source to your relay settings
1 Click Relay Settings 2 Click New Relay or Edit Default Relay
Setting Up Relays
4 Complete the fields for Destination
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
Users See Error Messages While Streaming Media
m Turn off other services
m Reduce the maximum number of connections or the maximum throughput
m Make sure users have the correct URL
You’re Having Problems With Playlists
Users Can’t See Live Streamed Media
48 Chapter
1 Log in to the server as an administrator
Advanced
This section answers questions raised by more advanced users
tells the server to bind to the local IP address
ssl=0 bind=IP address to bind to
Library/QuickTimeStreaming/Config/streamingserver.xml
PREF NAME=bindipaddr0PREF
\Program Files\Darwin Streaming Server\streamingserver.xml
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
How much random access memory RAM is needed?
Step 3 Set Up Your Streaming Server
dataRateInBits / 8 bits * timeInSeconds = file size
Can the server computer be dedicated solely to streaming?
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
Step 4 Set Up for a Live Webcast
For the example setup, the following items are needed
m good-quality DV camera
m sturdy tripod on which to mount the camera m portable lighting kit
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
“Sequential Looped” mode 34, 49 “Sequential” mode
passwords. See passwords proxies
SSL Secure Sockets Layer 24, 43 SSL certificate
84 Index
valid-user tag 41 video
See also errors