Serving Real Media
Once you have successfully installed
and tested your RealSystem Server, you
are ready to serve Real media content from your web site.
Make sure that the web server on your
Virtual Server is configured to properly handle the Real media file extensions,
namely .rm, .ra, .ram, and optionally .rpm.
If your Virtual Server was set up later than December 15, 1997 then your
~/www/conf/mime.types file includes the necessary
If your Virtual Server was set up prior to December 15, 1997 then simply
add the following two lines to your ~/www/conf/mime.types file:
audio/x-pn-realaudio ram rm ra
If you download the ~/www/conf/mime.types file to your local computer using FTP, be sure you
upload it back to your Virtual Server in ASCII format.
An alternative to
editing the ~/www/conf/mime.types file is to simply
copy the ~/www/conf/mime.types file from
the /usr/local/contrib directory on your Virtual Server host machine. To do this type:
% cp /usr/local/contrib/mime.types ~/www/conf
Upload (in BINARY format, if you use FTP)
your encoded Real media files (those with the .rm and .ra extensions) to your Virtual Server.
Real media files should be stored in the following directory, according to your Virtual Server O/S.
FreeBSD & Solaris
If you don't know the Virtual Server O/S, try the following:
are the "BasePath" where RealSystem Server looks for Real media files. You can
change these by modifying your RealSystem Server server.cfg file.
Use a text editor to create a metafile containing a RealAudio or
RealVideo URL. The contents of your file should be in the following
Change YOUR_DOMAIN.NAME to the domain name of your Virtual Server and
MEDIA_FILE to the name of the Real media file
you uploaded to your content directory in the previous step.
Save the above metafile as a text file with the .ram extension (mediafile.ram, for example).
Metafiles should be stored in your ~/www/htdocs directory hierarchy.
Finally, reference the metafile as a hyperlink in your HTML document.
The following links are actual examples which implement the
instructions included on this page. Go ahead and try them out!
The video clip example takes a little bit longer to start.
Audio Clip Example
Video Clip Example
Site Map | Contact Us!
Copyright © 1998-2001 Bright Builders, Inc. All rights reserved.
Last Modified: Tue Apr 24 17:04:17 2001 GMT
Page Built: Mon Jul 2 19:57:47 2001 GMT