Streaming Media Supplement sa2150 and sa2250
69
Chapter 7 Configuring Media-IXT for RealNetworks
Next, you need to add a parent proxy rule to the Media-IXT parent.config file on the child cache to
redirect streaming media traffic to a specific parent cache. (Adding a list of parent caches here is unsupported
in Media-IXT 4.x).
To set the child cache to redirect streaming media traffic to a specific parent cache:
1. In VI, open the Media-IXT parent.config file located in the Traffic Server config directory.
Each line in the parent.config file contains a parent proxy rule. Traffic Server recognizes four space-
delimited tags:
<primary destination>=<value> <secondary specifier>=<value> <action>=<value><tag>
2. Using the syntax below, add a rule to the Traffic Server parent.config file to specify protocol
redirection.
For RealPlayers, specify RTSP redirection.
One possible syntax for the RTSP parent proxy rule is:
dest_host=hostname scheme=rtsp parent="parent_cache:port_id" go_direct=true RNI
3. Tell Media-IXT to re-read its configuration files. From Media-IXT’s bin directory, run the command:
traffic_line -x
The table below describes the syntax for the parent proxy rule. Note that instead of dest_host, you can
choose dest_domain.
Examples
This example uses the dest_host specifier. The parent.config entry directs all requests for URLs
starting with rtsp://host1 to host2.domain.com.
dest_host=host1 scheme=rtsp parent="host2.domain.com:1091" go_direct=true RNI
Here’s another example, using the dest_domain specifier rather than dest_host. The parent.config
entry directs all requests to host2.domain.com. Note that this is accomplished by giving dest_domain
the value “.” (that is, “dot”).
dest_domain=. scheme=rtsp parent="host2.domain.com:1091" go_direct=true RNI
IMPORTANT The parent proxy for RTSP usually listens for traffic on port 1091. Different protocols
use different ports, and you must specify one rule for each protocol in the
parent.config file. If your deployment involves Windows Media Technologies
streaming, see “Configuring hierarchical proxy caching for WMT” on page 87.
dest_host The rule’s primary destination tag, representing the requested host name for the rule to
apply.
dest_domain The rule’s primary destination tag, representing the requested domain for the rule to
apply.
scheme The rule’s secondary specifier, representing a request URL media protocol to redirect:
rtsp or mms.
parent An action tag specifying a single parent proxy or an ordered list of parent proxies. If the
request cannot be handled by the last parent server in the list, it is routed to the origin
server if the go_direct action tag, described below, is true.
go_direct An action tag determining how the rule should treat redirection requests when parent
proxies are unavailable. You can set go_direct to true or false. Enter true if you
want requests to bypass unavailable parent hierarchies and go directly to the origin
server. Enter false if you do not want requests to bypass parent hierarchies.
tag Distinguishes between RealNetworks and QuickTime when the scheme is rtsp










