Many Virtual Server users want to offer Real Audio andReal Video streams but do not want to pay for a Real Audio/Video server that streams these files. Streaming files means that the Real Audio and Real Video files begin playing before the entire file is downloaded. RealAudio and Real Video files can be quite large and many people surfing the web would not wait to see the entire file download before it started playing.
A RealAudio/Video server allows you to offer these streamed files. However, you can also stream these files without the RealAudio/Video server. It isn't quite as nice as using the server, but it will cost you no money. It is known as HTTP streaming.
To stream Real Audio and Real Video content using HTTP from your Virtual Server:
- Copy your encoded Real Audio and Real Video files (files with the .rm and .ra extensions) to your Virtual Server using FTP. Be sure to FTP these files in Binary mode.
- Use a text editor to create a metafile containing a RealAudio or Real Video URL. For example, the contents of your metafile should be in the following form:
- Save the metafile as a text file with the .ram extension. For example: filename.ram
- Then FTP this file to your Virtual Server in ASCII mode (because it is a text file).
- In your HTML document, reference the metafile in a hyperlink. For example:
A HREF="http://artpassions.net/path/filename.ram" (remember your brackets)
You can use relative or complete paths. If you use complete paths, you must include both the hostname and the complete path.
When a user clicks on the link, the audio/video file(s) begin to download. The RealPlayer begins playing after a few seconds; it does not need to wait for the entire file to be downloaded.