Apple QuickTime Streaming Server Darwin Streaming Server manual Adding User Accounts and Passwords

Page 42

What Clients Need to Access Protected Media

Users must have QuickTime 5 or later to access a media file for which digest authentication is enabled. If your streaming server is set up to use basic authentication, users need QuickTime

4.1or later. Users must enter their user names and passwords to view the media file. Users who try to access a media file with an earlier version of QuickTime will see the error message “401: Unauthorized.”

Adding User Accounts and Passwords

You can add a user account and password if you log in to the server computer.

To add a user account:

1Log in to the server computer as root, open a terminal window, and type the following:

qtpasswd -f <user filename> <user-name>

Alternatively, use sudo to execute the command as root. See “Executing a Command With sudo” on page 44.

2Enter a password for the user and reenter it when prompted.

Adding or Deleting Groups

You can edit the /Library/QuickTimeStreaming/Config/qtgroups file with any text editor as long as it follows this format:

<groupname>: <user-name1> <user-name2> <user-name3>

For Windows, the path is c:\Program Files\Darwin Streaming Server\qtgroups. For other supported platforms, it is /etc/streaming/qtgroups.

mTo add or delete a group, simply edit the group file you set up.

Making Changes to the User or Group File

You can make changes to the user or group file if you log in to the server computer.

To delete a user from a user or group file:

1Log in to the server computer as administrator and use a text editor to open the user or group file.

2Delete the user name and encrypted passwords line from the user file.

3Delete the user name from the group file.

To change a user password:

1Log in to the server computer as root, open a terminal window, and type the following:

qtpasswd <user-name>

42 Chapter 2

Image 42
Contents Administrator’s Guide Apple Computer, Inc Apple Computer, Inc. All rights reservedContents Preparing Audio MediaWorking With Connected Users RelaysAdding or Deleting Groups Installing SSLSetup Example Streaming Server Computer Crashes or Is RestartedSetting It Up Creating a Web Page for Easy Access Glossary IndexWhat Is Streaming? About Streaming ServersSimple Setup for Live Video Live Versus On-Demand DeliveryHow Does Streaming Work? Multicast Versus Unicast Total Streaming Solution Relaying Streamed MediaQuickTime Suite More About Qtss and DSSQtss and DSS 4.1 added these features For More InformationPreface Setup Overview Getting StartedHardware and Software Client Computer RequirementsServer Requirements Live Broadcasting RequirementsSetting Up Your Streaming Server Follow these steps to set up your streaming serverTesting Your Setup Streaming server is now active and ready to stream mediaPage Working With Streaming Server Admin User InterfaceStarting or Stopping Streaming Service Viewing Streaming StatusWorking With Connected Users Changing Server Settings Controlling QuickTime Broadcaster RemotelyWorking With General Settings Working With Port Settings Working With Log SettingsDefault file names are as follows Viewing Error Logs and Access HistoryAbout Instant-On Streaming MediaCopy all media files to your streaming server Preparing Prerecorded MediaPreparing Audio Streaming Media Files With Multiple SourcesStreaming File Formats Like .avi, .text, and .wav Exporting a QuickTime Movie as a Hinted Movie Rtsp//qtss.hostname/myfile.movImproving the Performance of Hinted Movies Session Description Protocol SDP FilesOpen QuickTime Player Choose Open URL from the File menu Streaming Live MediaViewing Streamed Media From a Client Computer Setting Up a Web Page With Streamed Media PLS file uses this format Pls files using the user’s MP3 player automaticallyM3U file contains a single line of text in this format Creating Links to MP3 PlaylistsUsing Playlists to Broadcast Prerecorded Media Working With Playlist SettingsPlaylists To stop broadcasting a playlist, click the Stop button Starting and Stopping PlaylistsCreating a Playlist Changing a Playlist Deleting a PlaylistRelays To see the Relay Settings pane, click Relay SettingsWorking With Relay Settings To acquireClick Save Changes to add the source to your relay settings Setting Up RelaysStreaming on Port Resetting the Streaming Server Admin User Name and PasswordSecurity Turning a Relay On or OffControlling Access to Streamed Media Creating an Access FileManaging Your Streaming Server Adding or Deleting Groups What Clients Need to Access Protected MediaAdding User Accounts and Passwords Making Changes to the User or Group FileInstalling SSL Executing a Command With sudo Problems Streaming on PortFirewalls and Networks With Address Translation Streaming Server Computer Crashes or Is Restarted Streaming Server Admin Is Not RespondingServer Doesn’t Start Up or Quits Unexpectedly Media Files Do Not Stream ProperlyStreaming Performance Seems Slow Users See Error Messages While Streaming MediaMake sure users have the correct URL Users Can’t Connect to Your BroadcastYou’re Having Problems With Playlists Users Can’t See Live Streamed MediaTells the server to bind to the local IP address Log in to the server as an administratorAdvanced DSS 4 WindowsMeans that all IP addresses are enabled for the server Text similar to the following should appear 950. To kill them, enter the followingFinally, restart the server by entering the following Streamingadminserver.pl This will produce the following Page Distance learning classes Streaming Presentations-Live and On DemandBroadcaster Setting It Up Prepare the LocationPrepare the Network Set Up Your Streaming Server Can the server computer be dedicated solely to streaming?Example for a one-hour 300-Kbps stream Rtsp 7070 TCP or 80 TCP 554, 7070 TCP or 80 TCP10000-65635 UDP 1220 TCPSet Up for a Live Webcast Keep the Microphone Close Set Up Broadcaster Creating a Web Page for Easy Access Test Your SetupShooting the Live Presentation Archiving the Live PresentationClick Play below the iMovie monitor Setup Example Page Glossary Page Glossary Glossary Glossary Glossary X, Y, Z Glossary Announce Automatic Unicast 24, 43-44, 64-65 any-usertag Access to streamed media 40-43, 62 basic 25Overriding global setting AuthScheme keyword Avi formatDarwinStreamingServer file 46 data rates Running on non-Mac OS X platforms 16 setting upApplication Binaries Users from user/group file 42 delivery, livefiles Error Log setting 26 errorsStreaming Server Admin 22 Http connections 12, 45, 47 Http downloads 48 Http trafficKilling Qtss processes QuickTime movie 26 resettingMedia directories Disabling authentication for 40 multiple Looping playlistsStreaming Server Admin 18, 22, 25, 39 user accounts Name setting NATs Network Address Translators 43 NetSSLeayPasswords Broadcaster user account 25, 62 broadcasts Network Address Translators NATs 43 network cards NetworksPort 80, streaming over 18, 25, 45, 61 ports Access to Broadcasting prerecorded media with 34 creatingMPEG-4 Exporting as hinted movies 29-30sampleMultiple media directories 52-53obtaining Request incoming stream setting 37 resolutionCommand execution with sudo Real-time streaming 7Source Hostname or IP Address setting 37 SRC attribute Passwords. See passwords proxiesT1 lines Changing settings for 23 starting StoppingStreaming servers Broadcasts over 24 relay viaRtsp standard Weighted Random mode 35, 48, 49 WinAmp Wait for announced streams settingAdministering server from 21 Internet Explorer 21 Mozilla XLR plugs Xserve server 16, 17

QuickTime Streaming Server Darwin Streaming Server specifications

Apple QuickTime Streaming Server, also known as Darwin Streaming Server, is a pivotal technology in the realm of multimedia streaming. Developed by Apple Inc., this open-source server software is designed specifically for the efficient delivery of video and audio content over the internet. One of the standout features of Darwin Streaming Server is its capability to stream content using the QuickTime file format, which is widely adopted for rich media applications.

A core characteristic of Darwin Streaming Server is its support for the Real-Time Streaming Protocol (RTSP). This protocol enables the server to communicate effectively with user clients, ensuring smooth playback of multimedia content. RTSP also allows for advanced streaming capabilities, such as pause, rewind, and fast forward, providing users with a versatile viewing experience.

Darwin Streaming Server is built on a highly modular architecture that enhances its scalability and flexibility. It can easily handle multiple simultaneous streams, making it suitable for both small-scale projects and large-scale broadcast environments. The server can efficiently manage bandwidth, optimizing the delivery of content even during peak usage times.

Another notable feature of Darwin Streaming Server is its robust integration with Appleā€™s QuickTime technology. This compatibility enables the seamless distribution of interactive media, which is crucial for applications in education, entertainment, and corporate training. The server can stream both live and on-demand audio and video content, catering to a diverse audience.

Additionally, Darwin Streaming Server supports various streaming formats, including MP3 and AAC for audio and H.264 for video. This flexibility allows content creators to deliver high-quality media while maintaining compatibility with various devices and platforms, from desktop computers to mobile devices.

Security is another important aspect of Darwin Streaming Server. It supports encryption protocols, ensuring that sensitive content is protected during transmission. This is particularly valuable for organizations that need to secure proprietary content or deliver private media to specific audiences.

In conclusion, Apple QuickTime Streaming Server, or Darwin Streaming Server, stands out as a powerful tool for multimedia streaming. Its integration of RTSP, compatibility with QuickTime, modular architecture, and robust security features make it an ideal choice for businesses and content creators looking to deliver high-quality streaming experiences. Whether used for live broadcasts or on-demand content, Darwin Streaming Server remains a significant contributor to the evolution of online media delivery.