Maple Hosting Maple Hosting (A Company of Webx Networks)
 HOME  |  ABOUT US  |  HOSTING SERVICES  |  HOSTING PLANS  |  NETWORK  |  SUPPORT  |  CONTACT US 

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.

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:

    http://yourdomain.com/path/file.ra

    or

    http://yourdomain.com/path/file.rm

    where yourdomain.com is the name of your World Wide Web server. For example:

  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:

    <A HREF="filename.ram">

    or

    <A HREF="http://yourdomain.com/file.ram">

    You can use relative or complete paths. If you use complete paths, you must include both the yourdomain.com and the complete path. For example:

    <A HREF="http://yourdomain.com/directory/file.ram">

  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.

Copyright © 1997-2008 Maple Hosting (A subsidiary of Webx Networks). All rights reserved. SLA | Privacy Policy | Site Map