SEARCH
Control Panel      
Web Panache Support

Web Panache Support

Home
Spam
E-Mail
Publishing
Design Help
CGI/ASP Scripts
ColdFusion Tips
Administration
Database
Downloads
Archive



Last updated 11/08/06

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 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://www.YourDomainName.com/path/file.ra

    or

     http://www.YourDomainName.com/path/file.rm


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="http://www.YourDomainName.com/file.ram">


     You can use relative or complete paths. If you use complete paths, you must
     include both the hostname and the complete path.


   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. 

 

Still need help? Complete our Support Request Form

Web Panache Hosting