Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

How do I stream Real Audio and Video Files?

Views: 67
Votes: 0
Adding Real Audio/Video Streaming

The HTTP protocol enables audio content providers to stream RealAudio and RealVideo from a Virtual Server. While this method is not the same as using an actual RealAudio server, it provides a reasonable method for providing RealAudio and RealVideo content.

Copy your encoded RealAudio or RealVideo files (.rm or .ra) to your web site via FTP. (Make sure to use BINARY/RAW mode)

In order for a Real Audio file to properly "stream" from your server you will need two files - one with a .ra or .rm extension (this is the actual Real Audio file which contains all the data) and a second file with a .ram extension. This file is referred to as a 'metafile' (which simply means that it points to another file). Explanations on what these files do is below:

The first file (the one with the .ram extension) is simply a pointer to the second file (the one with the .ra or .rm extension, which is the actual Real Audio file). This first file (the metafile) is the one that will be called from your web page and it is what allows the Real Audio Clips to "stream".

You will need to create the file with the .ram extension (the metafile) yourself. To do this, create the .ram file with the URL pointing to the .ra file:

(In this example the file, myrafile.ra, is located in /sound.)

The .ram file should contain: http://www.yourdomain.com/sound/myrafile.ra

Now calling the .ram file in a web browser would cause the Real Audio file to "stream". Ie:

http://www.yourdomain.com/sound/myrafile.ram

You can now include this as a link on your site for "streaming" Real Audio files.

Now, in your HTML document, reference the .ram file (metafile) in a hyperlink. For example:(This link would be on a web page in the /sounds directory)

Click here to listen!
Others in this Category
document How do I view my account resources (e.g. disk space,bandwidth)?
document How do I manage my ftp accounts?
document How do I create subdomains?
document How do I create add-on domains?
document What is .htaccess?
document Fantastico Installation Scripts
document Checking IP Address of website
document How can I view my site?
document How do I setup a password protected directory?
document How do I backup my entire site in cPanel?
document How do I create a Sub-Domain?
document What are all these directories I see in my account?
document What is phpMYyAdmin?
document What is the path to my public_html?
document What is the path to Perl?
document Introduction to Your Home Directory
document Contents of Your Home Directory
document Installing SSL on a primary domain (e.g. www.domain.com)
document Installing SSL on your cPanel
document IP Address / SSL Certificate
document Obtaining and using SSH
document Subdomain SSL - Installation
document Server resource limits
document Setting up Audio/Video streaming
document Why do I get a MySQL Import error?
document Why do I get this add-on domain error?
document Why do I see a highload.html page?
document How do I download my raw access logs?
document Active Server Pages (ASP)
document CHMOD Permissions
document How to add an Add-on domain to my account?
document Multiple Languages



RSS