Apple QuickTime Streaming Server Darwin Streaming Server Example for a one-hour 300-Kbps stream

Page 60

Example for a one-hour 300-Kbps stream:

300,000 / 8 bits * 3600 = 135,000,000 bytes = 135 MB file size

Many local networks these days include redundant arrays of independent disks (RAID) storage systems, which provide much larger amounts of hard disk space.

If you use a storage location for streaming files different from the QTSS default (/Library/QuickTimeStreaming/Movies), you’ll need to enter the path to that location in the General Settings page of Streaming Server Admin. Place any Session Description Protocol (SDP) files referencing live webcasts in the same location so they can be recognized by QTSS.

In our example setup, all archived streaming files and SDP reference files reside in the default Movies folder of the streaming server.

Does the streaming server have an adequate network card?

The network card is a critical component of your streaming server, since it provides Ethernet connectivity between the server and your audience. An Ethernet card should provide a minimum of 100 megabytes (about 0.8 gigabit) per second of throughput.

Where will the streaming server be located on the network? And what about a firewall?

The streaming server must be located where it will be accessible to users (in our example, students) logging on from both the local network and the Internet. It also should be protected by a firewall against unauthorized access to the server and to the archived media files.

Mac OS X Server includes IP Firewall service, which scans incoming IP packets and rejects or accepts these packets based on a set of filters you create. For instructions on setting up this service, see “Firewall Service” in Mac OS X Administrator’s Guide.

60 Chapter 3

Image 60
Contents Administrator’s Guide Apple Computer, Inc Apple Computer, Inc. All rights reservedContents Media Working With Connected UsersPreparing Audio RelaysInstalling SSL Setup ExampleAdding or Deleting Groups 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 HistoryMedia Copy all media files to your streaming serverAbout Instant-On Streaming 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 files using the user’s MP3 player automatically M3U file contains a single line of text in this formatPLS file uses 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 PlaylistTo see the Relay Settings pane, click Relay Settings Working With Relay SettingsRelays To acquireClick Save Changes to add the source to your relay settings Setting Up RelaysResetting the Streaming Server Admin User Name and Password SecurityStreaming on Port Turning a Relay On or OffControlling Access to Streamed Media Creating an Access FileManaging Your Streaming Server What Clients Need to Access Protected Media Adding User Accounts and PasswordsAdding or Deleting Groups 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 Admin Is Not Responding Server Doesn’t Start Up or Quits UnexpectedlyStreaming Server Computer Crashes or Is Restarted Media Files Do Not Stream ProperlyUsers See Error Messages While Streaming Media Make sure users have the correct URLStreaming Performance Seems Slow Users Can’t Connect to Your BroadcastYou’re Having Problems With Playlists Users Can’t See Live Streamed MediaLog in to the server as an administrator AdvancedTells the server to bind to the local IP address 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 554, 7070 TCP or 80 TCP 10000-65635 UDPRtsp 7070 TCP or 80 TCP 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 Access to streamed media 40-43, 62 basic 25 Overriding global setting AuthScheme keywordAnnounce Automatic Unicast 24, 43-44, 64-65 any-usertag Avi formatRunning on non-Mac OS X platforms 16 setting up Application BinariesDarwinStreamingServer file 46 data rates Users from user/group file 42 delivery, liveError Log setting 26 errors Streaming Server Admin 22files Http connections 12, 45, 47 Http downloads 48 Http trafficQuickTime movie 26 resetting Media directories Disabling authentication for 40 multipleKilling Qtss processes Looping playlistsName setting NATs Network Address Translators 43 NetSSLeay Passwords Broadcaster user account 25, 62 broadcastsStreaming Server Admin 18, 22, 25, 39 user accounts Network Address Translators NATs 43 network cards NetworksAccess to Broadcasting prerecorded media with 34 creating MPEG-4Port 80, streaming over 18, 25, 45, 61 ports Exporting as hinted movies 29-30sampleRequest incoming stream setting 37 resolution Command execution with sudoMultiple media directories 52-53obtaining Real-time streaming 7Source Hostname or IP Address setting 37 SRC attribute Passwords. See passwords proxiesChanging settings for 23 starting Stopping Streaming serversT1 lines Broadcasts over 24 relay viaWait for announced streams setting Administering server from 21 Internet Explorer 21 MozillaRtsp standard Weighted Random mode 35, 48, 49 WinAmp 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.