Apple DARWIN STREAMING SERVER User Manual
Size:
1.77 Mb
Download

QuickTime

Streaming Server

Darwin

Streaming Server

Administrator’s Guide

K Apple Computer, Inc.

© 2002 Apple Computer, Inc. All rights reserved.

The owner or authorized user of a valid copy of QuickTime Streaming Server and Darwin Streaming Server software may reproduce this publication for the purpose of learning to use such software. No part of this publication may be reproduced or transmitted for commercial purposes, such as selling copies of this publication or for providing paidfor support services.

The Apple logo is a trademark of Apple Computer, Inc., registered in the U.S. and other countries. Use of the “keyboard” Apple logo (Option-Shift-K)for commercial purposes without the prior written consent of Apple may constitute trademark infringement and unfair competition in violation of federal and state laws.

Apple, the Apple logo, AppleScript, AppleShare, AppleTalk, ColorSync, FireWire, Keychain, Mac, Macintosh, Power Macintosh, QuickTime, Sherlock, and WebObjects are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. AirPort, Extensions Manager, Finder, iMac, and Power Mac are trademarks of Apple Computer, Inc.

Adobe and PostScript are trademarks of Adobe Systems Incorporated.

Java and all Java-basedtrademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.

Netscape Navigator is a trademark of Netscape Communications Corporation.

RealAudio is a trademark of Progressive Networks, Inc.

© 1995–2001The Apache Group. All rights reserved.

UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company, Ltd.

022-0329/11-20-02

Contents

Preface

 

 

 

 

 

 

 

QuickTime Streaming

7

 

 

What Is Streaming?

7

 

 

 

 

 

About Streaming Servers

7

 

 

Live Versus On-Demand Delivery

8

 

Simple Setup for Live Video 8

 

 

How Does Streaming Work? 9

 

 

Multicast Versus Unicast

10

 

 

Relaying Streamed Media

11

 

 

The Total Streaming Solution

11

 

 

The QuickTime Suite

12

 

 

 

More About QTSS and DSS

12

 

 

For More Information

13

 

 

 

 

1 Getting Started

 

15

 

 

 

Setup Overview

15

 

 

 

 

 

 

Hardware and Software

16

 

 

 

Client Computer Requirements

16

 

Server Requirements

17

 

 

 

Live Broadcasting Requirements

17

 

Setting Up Your Streaming Server

18

 

Testing Your Setup

19

 

 

 

 

 

2 Managing Your Streaming Server

21

User Interface

21

 

 

 

 

 

 

Working With Streaming Server Admin

21

3

Viewing Streaming Status

22

 

 

 

 

Starting or Stopping Streaming Service

22

 

 

Working With Connected Users 22

 

 

 

Changing Server Settings

23

 

 

 

 

Controlling QuickTime Broadcaster Remotely

23

 

Working With General Settings

24

 

 

 

Working With Port Settings

25

 

 

 

Working With Log Settings

25

 

 

 

Viewing Error Logs and Access History

26

 

 

Media

27

 

 

 

 

 

 

About Instant-On Streaming

27

 

 

 

Preparing Prerecorded Media

27

 

 

 

Preparing Audio

28

 

 

 

 

 

Streaming Media Files With Multiple Sources

28

 

Streaming File Formats Like .avi, .text, and .wav

28

Exporting a QuickTime Movie as a Hinted Movie

29

Improving the Performance of Hinted Movies

30

 

Session Description Protocol (SDP) Files

30

 

 

Streaming Live Media 31

 

 

 

 

 

Viewing Streamed Media From a Client Computer

31

Setting Up a Web Page With Streamed Media

32

 

Creating Links to MP3 Playlists

33

 

 

 

Bandwidth Considerations

33

 

 

 

Playlists

34

 

 

 

 

 

 

Using Playlists to Broadcast Prerecorded Media

34

Working With Playlist Settings

34

 

 

 

Starting and Stopping Playlists

35

 

 

 

Creating a Playlist

35

 

 

 

 

 

Changing a Playlist

36

 

 

 

 

 

Deleting a Playlist

36

 

 

 

 

 

Relays

37

 

 

 

 

 

 

Working With Relay Settings

 

37

 

 

 

Setting Up Relays

38

 

 

 

 

 

Turning a Relay On or Off

39

 

 

 

 

4Contents

Security

39

 

 

 

 

 

Resetting the Streaming Server Admin User Name and Password 39

 

Controlling Access to Streamed Media

40

 

 

 

Creating an Access File

40

 

 

 

 

What Clients Need to Access Protected Media

42

 

 

Adding User Accounts and Passwords

42

 

 

 

Adding or Deleting Groups 42

 

 

 

 

Making Changes to the User or Group File 42

 

 

Installing SSL 43

 

 

 

 

 

Using Automatic Unicast (Announce) With QTSS or DSS on a Separate Computer

43

Executing a Command With sudo 44

 

 

 

Streaming on Port 80

45

 

 

 

 

Firewalls and Networks With Address Translation

45

 

Problems

45

 

 

 

 

 

Streaming Server Admin Is Not Responding

46

 

 

The Server Doesn’t Start Up or Quits Unexpectedly

46

 

The Streaming Server Computer Crashes or Is Restarted 46

 

Media Files Do Not Stream Properly

46

 

 

 

Streaming Performance Seems Slow

47

 

 

 

Users Can’t Connect to Your Broadcast

47

 

 

 

Users See Error Messages While Streaming Media

47

 

Users Can’t See Live Streamed Media

48

 

 

 

You’re Having Problems With Playlists

48

 

 

 

Advanced

49

 

 

 

 

 

How do I bind the Streaming Server Admin computer to a single IP address if my machine

is multihomed?

49

 

 

 

 

How do I bind QTSS or DSS to a single IP address if my machine is multihomed?

50

How do I kill and restart the QuickTime Streaming Server processes in Mac OS X Server?

51

 

 

 

 

 

How do I kill and restart Streaming Server Admin processes in Mac OS X Server?

51

How do I get QTSS to re-read its preferences without killing or restarting the server? 52

How do I configure QTSS to host streams from multiple user media directories?

52

3 Setup Example 55

 

 

 

 

 

Streaming Presentations—Live and On Demand

55

 

 

Contents 5

Setting It Up 57

Creating a Web Page for Easy Access 65

Shooting the Live Presentation

66

Archiving the Live Presentation

66

Glossary 69

Index 77

6Contents