previous next

Appendix A: Summary of Link Formats

The tables in this appendix summarize link formats for each type of delivery method and content type.

For more information on creating links in general, consult Chapter 5, "Understanding Link Formats".

Link formats shown are based on default values included with RealServer.

Note
If you change or add a mount point, or change the port numbers, remember to use the new values in your links. And be sure to tell anyone else who creates links, too.

The Subject of the Link

When creating a link in a Web page, remember that you do not actually link to the clip itself; you link to a metafile that references it-either a Ram file, a SMIL file, or the automatically generated Ram file. For each type of content, two types of links are shown:

The format you use for the link depends on two factors:

The table below summarizes the differences:

Location of and Type of Link
Location of Link File Type Formats Protocol
Web page media clip Ramgen mount point http
metafile no special format http
Ram or SMIL file, RealPlayer media clip no special format rtsp or pna

Links to scalable multicasts are different in two ways:

Authenticated Content is Different

The tables in this appendix show how to construct a link to that type of authenticated content.

Two factors distinguish authenticated content from regular content:

Using Multiple Mount Points in a Link

When you are combining several features at once, the following guidelines will help you to decide the order in which the relevant mount points should appear in your link:

Port Numbers in Links

If you change the port numbers for RTSP Port, PNA Port and HTTP Port from their default values, you will need to tell your users so that they can include the new ports in their links. (If a link does not include a port number, RealPlayer uses default values for contacting the RealServer. But if RealServer is no longer listening on those ports, it will not receive the request.) See "Port Numbers" for more information.

On-Demand Content

On-Demand Content

On-Demand Content
Mount points

ramgen
Link in Web page

http://address:HTTPPort/ramgen/path/file
Example

http://realserver.company.com:8080/ramgen/houseg2/houseg2.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/path/file
Example

rtsp://realserver.company.com:554/houseg2/houseg2.rm
Reference "Linking to On-Demand Clips"
Authenticated Content
Mount points ramgen, secure
Link in Web page

http://address:HTTPPort/ramgen/secure/path/file
Example

http://realserver.company.com:8080/ramgen/secure/concerts/summer/mozart.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/secure/path/file
Example

http://realserver.company.com:8080/ramgen/secure/concerts/summer/mozart.rm
Reference "Linking to Authenticated Content".

ISP-Hosted On-Demand Content

Account-Based ISP Hosted Content
Mount points

ramgen
Link in Web page

http://address:HTTPPort/ramgen/~account/path/file
Example

http://realserver.company.com:8080/ramgen/~schu/music.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/~account/path/file
Example

rtsp://realserver.company.com:554/ramgen/~schu/music.rm
Reference "Step 3: Linking to ISP Content".
Authenticated Content
Mount points Authentication is not available for users' content. See "ISP Hosting and Other RealServer Features".
Link in Web page
Link within Player, Ram files, SMIL files
Reference

Dedicated ISP-Hosted Content
Mount points

ramgen
Link in Web page

http://address:HTTPPort/ramgen/directory1/directory2/path/file
Example

http://realserver.company.com:8080/ramgen/s/sc/schu/music.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/directory1/directory2/path/file
Example

rtsp://realserver.company.com:554/s/sc/schu/music.rm
Reference "Dedicated Hosting Server"
Authenticated Content
Mount points Authentication is not available for users' content. See "ISP Hosting and Other RealServer Features".
Link in Web page
Link within Player, Ram files, SMIL files

Ad Streaming

Ad Streaming with Automatic SMIL Generation
Mount points adtag/general, smilgen/banner, smilgen/leadin, smilgen/rbanner
Link in Web page http://address:HTTPPort:8080/ramgen/adtag/general/smilgen/banner
/
path/file
Example

http://realserver.company.com:8080/ramgen/adtag/general/smilgen/banner
/g2video.rm
Link within Player, Ram files rtsp://address:RTSPPort/adtag/general/smilgen/banner/path/file
Example

rtsp://realserver.company.com:554/adtag/general/smilgen/banner/g2video.rm
Reference "Understanding SMIL Generation Mount Points"
Authenticated Content
Mount points ramgen, adtag/general, smilgen/banner, smilgen/leadin, smilgen/rbanner
Link in Web page http://address:HTTPPort/ramgen/adtag/general/smilgen/secure/path/file
Example http://realserver.company.com:8080/ramgen/adtag/general/smilgen/secure
/g2video.rm
Link within Player, Ram files rtsp://address:RTSPPort/adtag/general/smilgen/secure/path/file
Example rtsp://realserver.company.com:554/adtag/general/smilgen/secure/path/file
Reference "Using Authentication with Ad Streaming"

Ad Streaming with SMIL Files
Mount points adtag/general
Link in Web page http://address:HTTPPort:ramgen/ramgen/adtag/general/path/file
Example

http://address:HTTPPort:ramgen/ramgen/adtag/general/g2video.smi
Link within Player, Ram files rtsp://address:RTSPPort/adtag/general/path/file
Example

rtsp://realserver.company.com:554/adtag/general/g2video.smi
Reference "Requesting SMIL Files from an Ad Server"

Live Content

Unicast Content from G2 Encoders

Unicasted Live Content (from G2 Encoders)
Mount points ramgen, encoder
Link in Web page

http://address:HTTPPort/ramgen/encoder/path/file
Example

http://realserver.company.com:8080/ramgen/encoder/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/encoder/path/file
Example

rtsp://realserver.company.com:554/encoder/live.rm

Reference

"Creating the Link to the Live Unicast"
Authenticated Content
Mount points ramgen, secure,encoder
Link in Web page

http://address:HTTPPort/ramgen/encoder/secure/path/file
Example

http://realserver.company.com:8080/ramgen/encoder/secure/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/encoder/secure/path/file
Example

rtsp://realserver.company.com:554/encoder/secure/live.rm
Reference "Linking to Authenticated Content"

Unicast Content from pre-G2 Encoders

Live content from encoders designed before RealSystem G2 (such as RealEncoder and RealProducer 5.0) uses the /live/ mount point.

Unicasted Live Content (from pre-G2 Encoders)
Mount points ramgen, live
Link in Web page

http://address:HTTPPort/ramgen/live/path/file
Example

http://realserver.company.com:8080/ramgen/live/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/live/path/file
Example

rtsp://realserver.company.com:554/live/live.rm

Reference

"Creating the Link to the Live Unicast"
Authenticated Content
Mount points ramgen, secure, live
Link in Web page

http://address:HTTPPort/ramgen/live/secure/path/file
Example

http://realserver.company.com:8080/ramgen/live/secure/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/live/secure/path/file
Example

rtsp://realserver.company.com:554/live/secure/live.rm
Reference "Linking to Authenticated Content"

Archived Live Content

If the live content is being created by a pre-G2 encoder, substitute /live/ for /encoder/. Note: Secure archived content must be stored in a different location than archived material available to everyone.

Archived Live Content
Mount points

ramgen
Link in Web page

http://address:HTTPPort/ramgen/Archive/file
Example

http://realserver.company.com:8080/ramgen/Archive/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/Archive/file
Example

rtsp://realserver.company.com:554/Archive/live.rm
Reference

"Linking to Archived Files" 
Authenticated Content
Mount points ramgen, secure
Link in Web page

http://address:HTTPPort/ramgen/secure/path/file
Example

http://realserver.company.com:8080/ramgen/secure/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/secure/path/file
Example

rtsp://realserver.company.com:554/secure/live.rm
Reference "Linking to Authenticated Content".

Unicast G2SLTA Content

If the live content is being created by a pre-G2 encoder, substitute /live/ for /encoder/.

Broadcasts that Use G2SLTA as the Source
Mount points

ramgen, encoder
Link in Web page

http://address:HTTPPort/ramgen/encoder/path/file
Example

http://realserver.company.com:8080/ramgen/encoder/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/encoder/path/file
Example

rtsp://realserver.company.com:554/encoder/live.rm
Reference

"Step 4: Linking to the Simulated Live Broadcast"
Authenticated Content
Mount points ramgen, encoder, secure
Link in Web page

http://address:HTTPPort/ramgen/encoder/secure/path/file
Example

http://realserver.company.com:8080/ramgen/encoder/secure/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/encoder/secure/path/file
Example

rtsp://realserver.company.com:554/encoder/secure/live.rm
Reference "Linking to Authenticated Content"

Split Content

Push Split

If the live content is being created by a pre-G2 encoder, substitute /live/ for /encoder/.

Push Split Content
Mount points

ramgen, farm, encoder
Link in Web page

http://SplitterHostName:HTTPPort/ramgen/farm/SourceHostName/encoder
/path/file
Example

http://realserver.company.com.au:8080/ramgen/farm/realserver.company.com.jp/encoder/concert.rm
Link within Player, Ram files, SMIL files

rtsp://SplitterHostName:RTSPPort/farm/SourceHostName/encoder/path/file
Example

rtsp://realserver.company.com.au:554/farm/realserver.company.com.jp/encoder
/concert.rm
Reference "Linking to Push Split Content".
Authenticated Content
Mount points Split material can be authenticated, but it requires elaborate measures. See "Access Control and Splitting".
Link in Web page
Link within Player, Ram files, SMIL files

Pull Split

If the live content is being created by a pre-G2 encoder, substitute /live/ for /encoder/.

Pull Split Content
Mount points

ramgen, split, encoder
Link in Web page

http://address:HTTPPort/ramgen/split/source:Port/encoder/path/file
Example

http://realserver.company.com.au:8080/ramgen/split/realserver.company.com.jp:3030/encoder/concert.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/split/source:Port/encoder/path/file
Example

rtsp://realserver.company.com.au:554/ramgen/split/realserver.company.com.jp:
3030/encoder/concert.rm
Reference "Linking to Pull Split Content"
Authenticated Content
Mount points Split material can be authenticated, but it requires elaborate measures. See "Access Control and Splitting".
Link in Web page
Link within Player, Ram files, SMIL files

Multicast Content

Back-Channel Multicasts

If the live content is being created by a pre-G2 encoder, substitute /live/ for /encoder/.

Back-Channel Multicast Content
Mount points

ramgen, encoder
Link in Web page

http://address:HTTPPort/ramgen/encoder/path/file
Example

http://realserver:8080/ramgen/encoder/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/encoder/path/file
Example

rtsp://realserver:554/encoder/live.rm
Reference "Linking to Back-Channel Multicasts"
Authenticated Content
Mount points ramgen, encoder, secure
Link in Web page

http://address:HTTPPort/ramgen/encoder/secure/path/file
Example

http://realserver:8080/ramgen/encoder/secure/live.rm
Link within Player, Ram files, SMIL files

rtsp://address:RTSPPort/encoder/secure/path/file
Example

rtsp://realserver:554/encoder/secure/live.rm
Reference "Linking to Authenticated Content"

Scalable Multicasts

Scalable multicast links use a slightly different format than other links:

If the live content is being created by a pre-G2 encoder, substitute /live/ for /encoder/.

Scalable Multicast Content
Mount point scalable
Link in Web page

http://address:HTTPPort/scalable/path/file.rm.sdp
Example

http://realserver:8080/scalable/concert.rm.sdp
Link within Player, Ram files, SMIL files http://address:HTTPPort/scalable/path/file.rm.sdp
(same as link in Web page)
Example

http://realserver:8080/scalable/concert.rm.sdp 
(same as link in Web page)
Reference "Linking to Scalable Multicasts"
Authenticated Content
Mount points scalable, secure
Link in Web page

http://address:HTTPPort/scalable/secure/path/file.rm.sdp
Example

http://realserver:8080/scalable/secure/concert.rm.sdp
Link within Player, Ram files, SMIL files http://address:HTTPPort/scalable/secure/path/file.rm.sdp
(same as link in Web page)
Example

http://realserver:8080/scalable/secure/concert.rm.sdp
(same as link in Web page)
Reference "Linking to Authenticated Content"

Metafiles

Ram Files

Ram Files
Mount points none, for most links
Link in Web page

http://address:port/path/file.ram
Example

http://webserver.company.com:80/music.ram
Reference "Ram Files and Ramgen"
Authenticated Ram File
Mount points Ram files are delivered by Web servers, and thus cannot be authenticated by RealServer. The files referenced by the Ram file, however, can be authenticated.
Link in Web page
Example

SMIL Files

SMIL Files
Mount points none, for most links
Link in Web page

http://address:HTTPPort/ramgen/path/file.smi
Example

http://realserver.company.com:8080/ramgen/music.smi
Reference "SMIL Files"
Authenticated SMIL File
Mount points There are two methods of authenticating SMIL files or the files they reference. Refer to "Working with SMIL Files".
Link in Web page
Example


Copyright © 1998, 1999 RealNetworks
For information on RealNetworks' technical support, click here.
Comments on this document? Click here.
This file last updated on 12/02/99 at 10:54:26.
previous next