Serving streaming media files
Serving a file from a link on a web page
Some people would argue that this is the best method of serving streamed video. This method opens the presentation in the application window (RealOne Player in this example) and gives the viewer the option to resize the viewing window.
Here is an example of a RealMedia file streamed from a link (click to view the broadcast in the player window). Note: in all cases, your audience must have RealOne, or the required player for the media type, installed on their machine.
To serve a file from a link on a web page, use the following link format:
<a href="http://rm.auburn.edu:7070/ramgen/realN/path/filename.rm">
- http:// - the protocol
- rm.auburn.edu - the AU streaming server name. This is the streaming server loadbalancer at AU.
- :7070 - this is the port configured to handle streaming media traffic. If you don't specify a port, the server will default to this port.
- ramgen - this is the mount point for the stream. Although it looks like a directory path, it is actually a virtual path that invokes the Helix Server feature to send the browser an encoded stream that starts the RealOne player.
- realN - this is the volume of the real server disk space where your file is located. It may be that your real server home directory is "real1", "real2" or "real3". You are given this volume name when your real server account is created. (Requesting Streaming Server Space)
- path - this is the path to the filename from the real volume. In most cases it is your User Name or departmental account name. It may include a subdirectory under your home directory, depending on how you organize your files.
- filename.rm - this is the name of the file you are attempting to serve.
To embed a RealMedia file on a web page, use this code:
<embed
controls="imagewindow"
console="Clip1"
src="rtsp://rm.auburn.edu:7070/realN/path/filename.rm" width="320" height="240"
autostart="false"></embed><BR>
<embed
controls="controlpanel"
console="Clip1"
src="rtsp://rm.auburn.edu:7070/realN/path/filename.rm" width="320" height="30"></embed>
Where realN/path / filename.rm is the volume, path, and the filename. You do not need to include the "ramgen" virtual path with the "rtsp" protocol.
If you want the file to play when the page is viewed (without having to press the start button), turn autostart to "true".
Here is a sample of an embedded file with "autostart" turned
to "false". To play the clip, click on the arrow on the control
panel below the window.


