How do I use HTTP streaming for RealAudio and RealVideo?

How do I use HTTP streaming for RealAudio and RealVideo?
Changed:8:20 AM on Monday, May 8, 2000

How do I use HTTP streaming for RealAudio and RealVideo?
The HTTP protocol enables audio and video content providers to stream RealAudio and RealVideo from a World Wide Web server. 

While this method is not as robust or efficient as using a RealAudio Server, it provides a reasonable method for delivering RealAudio content. 

Before you can stream RealAudio and RealVideo clips through HTTP, your need to define the following MIME types for your World Wide Web server: 

     audio/x-pn-realaudio (files with .ra, .rm and .ram file 

     audio/x-pn-realaudio-plugin (files with the .rpm file 

Some Web servers are pre-configured with these MIME types. 
Note If you are running a web page on an ISP server, send mail to the ISP administrator, asking them to set up the RealAudio MIME type. 

To stream RealMedia content using HTTP: 

   1.Copy your encoded RealAudio or RealVideo files (files with the .ra or .rm extensions)  to your World Wide Web server. 

   2.Use a text editor (such as Notepad) to create a metafile 
containing a 
     RealAudio URL. For example, the contents of your file should be in the 
     following form: 
     where hostname is the name of your World Wide Web server. 
For example: 
     Note: Refer to "Creating Metafiles" in the Content Creation Guide for more 
     information. RAM files for HTTP streaming are identical to regular RAM files with the exception that it uses http as the protocol instead of pnm. 

   3.Save your metafile in as text using a .ram filename extension. 

   4.In your HTML document, reference the metafile in a hyperlink. 

For example: 
*Please note that the  tag is present because we also use 
this article in our online kb. The tag should not be used in your metafile. 
{A HREF="filename.ram"}
{A HREF="http://hostname/file.ram"}
     You can use relative or complete paths. If you use complete paths, you must 
     include both the hostname and the complete path. For example: 
{A HREF=""}
   5.When a user clicks on the link, the audio file(s) begin to download. The 
     RealAudio Player begins playing after a few seconds; it does not need to wait 
     for the entire file to be downloaded. 

Application: RealAudio Player 3.0,RealPlayer 4.0,RealPlayer 5.0,PN Support Article ID: RAP-000623-02 
Last Updated: 12/8/97 

The information provided in the RealNetworks Knowledge Base 
Is provided 'as is' without warranty of any kind. RealNetworks Disclaims all warranties, either expressed or implied, including the warranties of merchantability and fitness for a particular purpose. 

In no event shall RealNetworks or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if RealNetworks or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. 

Copyright  RealNetworks Inc. and/or its licensors, 1995 - 2000 all rights reserved. 
RealAudio, RealVideo, RealMedia, RealSystem, RealProducer and RealPlayer are trademarks of RealNetworks Inc.